{"by":"bkryza","descendants":20,"id":36480779,"kids":[36481637,36484410,36484326,36485423,36481978,36482208],"score":79,"text":"Hi,<p>clang-uml is an open-source C++ to UML diagram generator, driven by YAML configuration files.<p>The main idea behind the project is to easily maintain up-to-date diagrams within a code-base or document legacy code.<p>The configuration file for clang-uml defines the types and contents of each generated diagram.<p>The diagrams can be currently generated in PlantUML and JSON formats.<p>Main features:\n - class, sequence, package and include diagrams\n - up to C++17 with support for C++20 concepts\n - visualization of template specialization relationships\n - declarative diagram content filtering based on namespaces, elements and relationships\n - relationship inference from C++ containers, smart pointers and custom templates\n - customizable interactive links in diagrams (SVG output only)\n - generation of UML packages from namespaces or directories\n - JSON output containing intermediate diagram model representation for custom processing<p>More features, usage information and examples are in README at <a href=\"https:&#x2F;&#x2F;github.com&#x2F;bkryza&#x2F;clang-uml\">https:&#x2F;&#x2F;github.com&#x2F;bkryza&#x2F;clang-uml</a> and online docs at <a href=\"https:&#x2F;&#x2F;clang-uml.github.io\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;clang-uml.github.io</a><p>In particular, checkout diagrams generated from test cases here: <a href=\"https:&#x2F;&#x2F;clang-uml.github.io&#x2F;md_docs_2test__cases.html\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;clang-uml.github.io&#x2F;md_docs_2test__cases.html</a>","time":1687792659,"title":"Show HN: Clang-uml – C++ to UML diagram generator based on Clang","type":"story","url":"https://github.com/bkryza/clang-uml"}