- Qt Creator Documentation
- Create component diagrams
- Qt Creator 19.0.0

Create class diagrams ◦ Create package diagrams

# Create component diagrams

Create UML-style models that contain component diagrams. They represent a set of components and their relationships, and show the implementation of a system.

Add source code components, such as libraries, databases, programs, and architectural layers to a component diagram.

To add components to component diagrams:

1. Drag source code from Projects to the editor.
2. Select Add Component.

A component diagram in the model editor.

To navigate from a component in a diagram to the source code, double-click the component in the editor or select Show Definition in the context menu.

See also How to: Edit UML-style models.

Create class diagrams ◦ Create package diagrams