mirror of
https://github.com/bkryza/clang-uml.git
synced 2025-05-28 01:40:30 +08:00
1.6 KiB
1.6 KiB
Configuration file reference
Top level options
compilation_database_dir
- path to the directory containingcompile_commands.json
output_directory
- path to the directory where PlantUML diagrams will be generateddiagrams
- the map of diagrams to be generated, each diagram name is provided as the key of the diagram YAML node
Diagram options
type
- type of diagram, one of [class
,sequence
]glob
- list of glob patterns to match source code files for analysisinclude_relations_also_as_members
- when set tofalse
, class members for relationships are rendered in UML are skipped from class definition (default:true
)using_namespace
- similar to C++using namespace
, aA::B
value here will render a classA::B::C::MyClass
in the diagram asC::MyClass
include
- definition of inclusion patterns:namespaces
- list of namespaces to includerelationships
- list of relationships to includeentity_types
- list of entity types to include (e.g.class
,enum
)scopes
- list of visibility scopes to include (e.g.private
)
exclude
- definition of exclusion patterns:namespaces
- list of namespaces to excluderelationships
- list of relationships to excludeentity_types
- list of entity types to exclude (e.g.class
,enum
)scopes
- list of visibility scopes to exclude (e.g.private
)
plantuml
- verbatim PlantUML directives which should be added to a diagrambefore
- list of directives which will be added before the generated diagramafter
- list of directives which will be added after the generated diagram