Create component diagrams

You can create UML-style models that contain component diagrams. They epresent a set of components and their relationships, and show the implementation of a system.

You can add source code components, such as libraries, databases, programs, and architectural layers to a component diagram. To add components to component diagrams, drag source code from Projects to the editor, and 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 Create class diagrams, Create package diagrams, Create UML-style models, 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.