clang-uml
brew install clang-uml
v0.6.2_3
Apache-2.0
Customizable automatic UML diagram generator for C++ based on Clang
20
30-day installs · #6776
76
90-day · #6216
630
365-day · #4622
902
★ GitHub stars · updated 2mo ago
Runtime dependencies
Build dependencies
GitHub topics
clang
cplusplus
cpp
cpp17
libclang
mermaidjs
plantuml
uml
Links
- https://github.com/bkryza/clang-uml
- GitHub: bkryza/clang-uml
- Brew formula source: Formula/c/clang-uml.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"cmake",
"pkgconf"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"llvm@21",
"yaml-cpp"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Customizable automatic UML diagram generator for C++ based on Clang",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:25+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "clang-uml",
"github_default_branch": "master",
"github_last_commit_at": "2026-05-31T20:12:05Z",
"github_readme_excerpt": "[\u003cdiv align=\"center\"\u003e\u003cimg width=\"600\" src=\"https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/img/clang-uml-logo.svg?sanitize=true\"\u003e\u003c/div\u003e](https://github.com/bkryza/clang-uml/releases)\n\n# C++ UML diagram generator based on Clang\n\n[](https://github.com/bkryza/clang-uml/actions)\n[](https://github.com/bkryza/clang-uml/actions)\n[](https://codecov.io/gh/bkryza/clang-uml)\n[](https://github.com/bkryza/clang-uml/releases)\n[](https://github.com/bkryza/clang-uml/releases)\n[](https://clang-uml.github.io)\n\n`clang-uml` is an automatic C++ to UML class, sequence, package and include diagram generator, driven by\nYAML configuration files. The main idea behind the\nproject is to easily maintain up-to-date diagrams within a code-base or document\nlegacy code. The configuration file or files for `clang-uml` define the\ntypes and contents of each generated diagram.\n\nThe diagrams can be generated in the following formats:\n* [PlantUML](https://plantuml.com)\n* [MermaidJS](https://mermaid.js.org/)\n* [GraphML](http://graphml.graphdrawing.org/)\n* JSON\n\n`clang-uml` currently supports C++ up to version 20, as well as C and Objective-C.\n\nFull documentation can be found at [clang-uml.github.io](https://clang-uml.github.io).\n\nTo see what `clang-uml` can do, check out the diagrams generated for unit\ntest cases [here](./docs/test_cases.md), examples in\n[clang-uml-examples](https://github.com/bkryza/clang-uml-examples) repository\nor my [blog](https://blog.bkryza.com/posts/generating-uml-diagrams-from-moderncpp-using-clang",
"github_repo": "bkryza/clang-uml",
"github_stars": 902,
"github_topics": [
"clang",
"cplusplus",
"cpp",
"cpp17",
"libclang",
"mermaidjs",
"plantuml",
"uml"
],
"homepage": "https://github.com/bkryza/clang-uml",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 20,
"installs_365d": 630,
"installs_90d": 76,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "clang-uml",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6776,
"rank_365d": 4622,
"rank_90d": 6216,
"raw_hash": "4cae6925d8e0e210",
"recommended_dependencies": [],
"revision": 3,
"ruby_source_path": "Formula/c/clang-uml.rb",
"tap": "homebrew/core",
"test_dependencies": [
"cmake"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.6.2",
"versioned_formulae": [],
"why_use_this": null
}