Clang-uml – C++ to UML diagram generator based on Clang

Clang-uml is an automatic C++ to UML class, sequence, package and include diagram generator based on Clang and driven by YAML configuration files. The project was created to easily maintain up-to-date diagrams within a code base, or document legacy code. The configuration file or files define the types and contents of each diagram, can be generated in PlantUML and JSON formats, and currently supports C++ up to version 17 with partial support for C++ 20. Features include class diagram, sequence diagram, package diagram, and include graph diagram generation, with support for plain C99/C11 code and C++20 concept constraints. Installation instructions for Linux, macOS, and Windows can be found on their website.

To top