diagrams:
t30008_package:
type: package
glob:
- t30008.cc
include:
dependants:
- clanguml::t30008::dependants::A
dependencies:
- clanguml::t30008::dependencies::F
using_namespace: clanguml::t30008
plantuml:
before:
- "' t30008 test package diagram"
File tests/t30008/t30008.cc
namespace clanguml {
namespace t30008 {
namespace dependants {
namespace X {
}
namespace A {
struct AA { };
}
namespace B {
struct BB {
A::AA *aa;
};
}
namespace C {
struct CC {
B::BB *bb;
};
}
} // namespace dependants
namespace dependencies {
namespace Y {
}
namespace D {
struct DD { };
}
namespace E {
struct EE {
D::DD *dd;
};
}
namespace F {
struct FF {
E::EE *ee;
};
}
} // namespace dependencies
} // namespace t30008
} // namespace clanguml
{
"diagram_type": "package",
"elements": [
{
"display_name": "dependants",
"elements": [
{
"display_name": "A",
"id": "16771533033958256100",
"is_deprecated": false,
"name": "A",
"namespace": "clanguml::t30008::dependants",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 7,
"translation_unit": "t30008.cc"
},
"type": "namespace"
},
{
"display_name": "B",
"id": "4001666001351455659",
"is_deprecated": false,
"name": "B",
"namespace": "clanguml::t30008::dependants",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 10,
"translation_unit": "t30008.cc"
},
"type": "namespace"
},
{
"display_name": "C",
"id": "8766729977236606603",
"is_deprecated": false,
"name": "C",
"namespace": "clanguml::t30008::dependants",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 15,
"translation_unit": "t30008.cc"
},
"type": "namespace"
}
],
"id": "12815680342124921776",
"is_deprecated": false,
"name": "dependants",
"namespace": "clanguml::t30008",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 4,
"translation_unit": "t30008.cc"
},
"type": "namespace"
},
{
"display_name": "dependencies",
"elements": [
{
"display_name": "D",
"id": "7299098381736274037",
"is_deprecated": false,
"name": "D",
"namespace": "clanguml::t30008::dependencies",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 27,
"translation_unit": "t30008.cc"
},
"type": "namespace"
},
{
"display_name": "E",
"id": "8919983922916151509",
"is_deprecated": false,
"name": "E",
"namespace": "clanguml::t30008::dependencies",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 30,
"translation_unit": "t30008.cc"
},
"type": "namespace"
},
{
"display_name": "F",
"id": "8502617293425376752",
"is_deprecated": false,
"name": "F",
"namespace": "clanguml::t30008::dependencies",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 35,
"translation_unit": "t30008.cc"
},
"type": "namespace"
}
],
"id": "16831753342977743687",
"is_deprecated": false,
"name": "dependencies",
"namespace": "clanguml::t30008",
"source_location": {
"column": 11,
"file": "t30008.cc",
"line": 23,
"translation_unit": "t30008.cc"
},
"type": "namespace"
}
],
"name": "t30008_package",
"package_type": "namespace",
"relationships": [
{
"destination": "16771533033958256100",
"source": "4001666001351455659",
"type": "dependency"
},
{
"destination": "4001666001351455659",
"source": "8766729977236606603",
"type": "dependency"
},
{
"destination": "7299098381736274037",
"source": "8919983922916151509",
"type": "dependency"
},
{
"destination": "8919983922916151509",
"source": "8502617293425376752",
"type": "dependency"
}
],
"using_namespace": "clanguml::t30008"
}
<?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="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">
<data key="gd3">clanguml::t30008</data>
<node id="n0">
<data key="nd2">dependants</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L4</data>
<data key="nd5">dependants</data>
<graph id="g1" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst">
<node id="n1">
<data key="nd2">A</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L7</data>
<data key="nd5">A</data>
<graph id="g2" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst" />
</node>
<node id="n2">
<data key="nd2">B</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L10</data>
<data key="nd5">B</data>
<graph id="g3" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst" />
</node>
<node id="n3">
<data key="nd2">C</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L15</data>
<data key="nd5">C</data>
<graph id="g4" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst" />
</node>
</graph>
</node>
<node id="n4">
<data key="nd2">dependencies</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L23</data>
<data key="nd5">dependencies</data>
<graph id="g5" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst">
<node id="n5">
<data key="nd2">D</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L27</data>
<data key="nd5">D</data>
<graph id="g6" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst" />
</node>
<node id="n6">
<data key="nd2">E</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L30</data>
<data key="nd5">E</data>
<graph id="g7" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst" />
</node>
<node id="n7">
<data key="nd2">F</data>
<data key="nd1">namespace</data>
<data key="nd4">https://github.com/bkryza/clang-uml/blob/669b30ea491fc93aa680d5303b8c092431ff11ce/tests/t30008/t30008.cc#L35</data>
<data key="nd5">F</data>
<graph id="g8" edgedefault="directed" parse.nodeids="canonical" parse.edgeids="canonical" parse.order="nodesfirst" />
</node>
</graph>
</node>
<edge id="e0" source="n2" target="n1">
<data key="ed0">dependency</data>
</edge>
<edge id="e1" source="n3" target="n2">
<data key="ed0">dependency</data>
</edge>
<edge id="e2" source="n6" target="n5">
<data key="ed0">dependency</data>
</edge>
<edge id="e3" source="n7" target="n6">
<data key="ed0">dependency</data>
</edge>
</graph>
</graphml>