- Qt Creator Documentation
- Create component diagrams
- Qt Creator 15.0.1

How To

# 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: Create Models and Diagrams and Model Editor.