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.

{Component diagram in the model editor}

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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.