0.5.4
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
clang-uml

Documentation

clang-uml is an automatic C++ to UML class, sequence, package and include diagram generator, driven by YAML configuration files. The main idea behind the project is to easily maintain up-to-date diagrams within a code-base or document legacy code. The configuration file or files for clang-uml define the types and contents of each generated diagram. The diagrams can be generated in PlantUML, MermaidJS and JSON formats.

Example sequence diagram generated using clang-uml from this code:

clang-uml currently supports C++ up to version 17 with partial support for C++ 20.

To see what clang-uml can do, checkout the diagrams generated for unit test cases here or examples in clang-uml-examples repository.

These pages provide both user and developer documentation.