0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
t90000 - Basic config test

Config

allow_empty_diagrams: true
diagrams:
t90000_class:
type: class
glob:
- NONE
plantuml:
before:
- 'class "Foo" as C_001'
- 'class C_001 {'
- ' +int value'
- '}'
- 'C_001 <|-- ArrayList'
- 'note top of C_001: This is a very important class.'
- 'note "This is a\nfloating note" as N1'
- 'note "This note is connected\nto several objects." as N2'
- 'C_001 .. N2'
- 'N2 .. ArrayList'
- 'class "Boo" as C_002'
- 'class C_002 {'
- '}'
mermaid:
before:
- 'class C_001["Foo"]'
- 'class C_001 {'
- ' +int value'
- '}'
- 'C_001 <|-- ArrayList'
- 'note for C_001 "This is a very important class."'
- 'note "This is a\nfloating note"'
- 'class C_002["Boo"]'
- 'class C_002 {'
- '}'

Source code

File tests/t90000/t90000.cc

Generated PlantUML diagrams

Generated Mermaid diagrams

Generated JSON models

{
"diagram_type": "class",
"elements": [],
"name": "t90000_class",
"package_type": "namespace",
"relationships": []
}

Generated GraphML models

<?xml version="1.0"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key attr.name="id" attr.type="string" for="graph" id="gd0" />
<key attr.name="diagram_type" attr.type="string" for="graph" id="gd1" />
<key attr.name="name" attr.type="string" for="graph" id="gd2" />
<key attr.name="using_namespace" attr.type="string" for="graph" id="gd3" />
<key attr.name="id" attr.type="string" for="node" id="nd0" />
<key attr.name="type" attr.type="string" for="node" id="nd1" />
<key attr.name="name" attr.type="string" for="node" id="nd2" />
<key attr.name="stereotype" attr.type="string" for="node" id="nd3" />
<key attr.name="url" attr.type="string" for="node" id="nd4" />
<key attr.name="tooltip" attr.type="string" for="node" id="nd5" />
<key attr.name="is_template" attr.type="boolean" for="node" id="nd6" />
<key attr.name="type" attr.type="string" for="edge" id="ed0" />
<key attr.name="access" attr.type="string" for="edge" id="ed1" />
<key attr.name="label" attr.type="string" for="edge" id="ed2" />
<key attr.name="url" attr.type="string" for="edge" id="ed3" />
<graph id="g0" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst" />
</graphml>