Files
clang-uml/docs/test_cases/t00037_class_mermaid.svg
2024-01-28 22:16:37 +01:00

223 lines
16 KiB
XML

<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" aria-roledescription="classDiagram" role="graphics-document document" viewBox="0 0 310.14453125 499" style="max-width: 310.145px; background-color: white;" width="310.14453125" id="my-svg">
<style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg g.classGroup text{fill:#9370DB;fill:#131300;stroke:none;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:10px;}#my-svg g.classGroup text .title{font-weight:bolder;}#my-svg .nodeLabel,#my-svg .edgeLabel{color:#131300;}#my-svg .edgeLabel .label rect{fill:#ECECFF;}#my-svg .label text{fill:#131300;}#my-svg .edgeLabel .label span{background:#ECECFF;}#my-svg .classTitle{font-weight:bolder;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .divider{stroke:#9370DB;stroke-width:1;}#my-svg g.clickable{cursor:pointer;}#my-svg g.classGroup rect{fill:#ECECFF;stroke:#9370DB;}#my-svg g.classGroup line{stroke:#9370DB;stroke-width:1;}#my-svg .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5;}#my-svg .classLabel .label{fill:#9370DB;font-size:10px;}#my-svg .relation{stroke:#333333;stroke-width:1;fill:none;}#my-svg .dashed-line{stroke-dasharray:3;}#my-svg .dotted-line{stroke-dasharray:1 2;}#my-svg #compositionStart,#my-svg .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#my-svg #compositionEnd,#my-svg .composition{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#my-svg #dependencyStart,#my-svg .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#my-svg #dependencyStart,#my-svg .dependency{fill:#333333!important;stroke:#333333!important;stroke-width:1;}#my-svg #extensionStart,#my-svg .extension{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#my-svg #extensionEnd,#my-svg .extension{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#my-svg #aggregationStart,#my-svg .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#my-svg #aggregationEnd,#my-svg .aggregation{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#my-svg #lollipopStart,#my-svg .lollipop{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#my-svg #lollipopEnd,#my-svg .lollipop{fill:#ECECFF!important;stroke:#333333!important;stroke-width:1;}#my-svg .edgeTerminals{font-size:11px;}#my-svg .classTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style>
<g>
<defs>
<marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker aggregation classDiagram" id="classDiagram-aggregationStart">
<path d="M 18,7 L9,13 L1,7 L9,1 Z"/>
</marker>
<style type="text/css">a:hover { text-decoration: underline; }</style>
</defs>
<defs>
<marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker aggregation classDiagram" id="classDiagram-aggregationEnd">
<path d="M 18,7 L9,13 L1,7 L9,1 Z"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker extension classDiagram" id="classDiagram-extensionStart">
<path d="M 1,7 L18,13 V 1 Z"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker extension classDiagram" id="classDiagram-extensionEnd">
<path d="M 1,1 V 13 L18,7 Z"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker composition classDiagram" id="classDiagram-compositionStart">
<path d="M 18,7 L9,13 L1,7 L9,1 Z"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker composition classDiagram" id="classDiagram-compositionEnd">
<path d="M 18,7 L9,13 L1,7 L9,1 Z"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker dependency classDiagram" id="classDiagram-dependencyStart">
<path d="M 5,7 L9,13 L1,7 L9,1 Z"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="28" markerWidth="20" refY="7" refX="19" class="marker dependency classDiagram" id="classDiagram-dependencyEnd">
<path d="M 18,7 L9,13 L14,7 L9,1 Z"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="0" class="marker lollipop classDiagram" id="classDiagram-lollipopStart">
<circle r="6" cy="7" cx="6" fill="white" stroke="black"/>
</marker>
</defs>
<g class="root">
<g class="clusters"/>
<g class="edgePaths">
<path marker-start="url(#classDiagram-aggregationStart)" style="fill:none" class="edge-pattern-solid relation" id="id1" d="M113.9971801035503,278L108.32186883629193,283.6666666666667C102.64655756903353,289.3333333333333,91.29593503451677,300.6666666666667,85.6206237672584,312C79.9453125,323.3333333333333,79.9453125,334.6666666666667,79.9453125,340.3333333333333L79.9453125,346"/>
<path marker-start="url(#classDiagram-aggregationStart)" style="fill:none" class="edge-pattern-solid relation" id="id2" d="M215.1512573964497,278L220.82656866370806,283.6666666666667C226.50187993096645,289.3333333333333,237.8525024654832,300.6666666666667,243.5278137327416,315.6666666666667C249.203125,330.6666666666667,249.203125,349.3333333333333,249.203125,358.6666666666667L249.203125,368"/>
<path marker-start="url(#classDiagram-aggregationStart)" style="fill:none" class="edge-pattern-solid relation" id="id3" d="M164.57421875,109L164.57421875,114.66666666666667C164.57421875,120.33333333333333,164.57421875,131.66666666666666,164.57421875,143C164.57421875,154.33333333333334,164.57421875,165.66666666666666,164.57421875,171.33333333333334L164.57421875,177"/>
</g>
<g class="edgeLabels">
<g transform="translate(79.9453125, 312)" class="edgeLabel">
<g transform="translate(-45.140625, -9)" class="label">
<foreignObject height="18" width="90.28125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel">
<span class="edgeLabel">+dimensions</span>
</span>
</div>
</foreignObject>
</g>
</g>
<g transform="translate(249.203125, 312)" class="edgeLabel">
<g transform="translate(-19.5625, -9)" class="label">
<foreignObject height="18" width="39.125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel">
<span class="edgeLabel">-units</span>
</span>
</div>
</foreignObject>
</g>
</g>
<g transform="translate(164.57421875, 143)" class="edgeLabel">
<g transform="translate(-10.8984375, -9)" class="label">
<foreignObject height="18" width="21.796875">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel">
<span class="edgeLabel">+st</span>
</span>
</div>
</foreignObject>
</g>
</g>
</g>
<g class="nodes">
<a transform="translate(164.57421875, 227.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/20093b9b1c52688ac0bc91620281dc445d2db9c6/tests/t00037/t00037.cc#L4">
<g title="ST" id="classId-C_0000011203041379038775-0" class="node default clickable">
<rect height="101" width="275.140625" y="-50.5" x="-137.5703125" class="outer title-state"/>
<line y2="-20.5" y1="-20.5" x2="137.5703125" x1="-137.5703125" class="divider"/>
<line y2="39.5" y1="39.5" x2="137.5703125" x1="-137.5703125" class="divider"/>
<g class="label">
<foreignObject height="0" width="0">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel"/>
</div>
</foreignObject>
<foreignObject transform="translate( -10.2265625, -43)" height="18" width="20.453125" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">ST</span>
</div>
</foreignObject>
<foreignObject transform="translate( -130.0703125, -9)" height="18" width="260.140625">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+dimensions : ST::(anonymous_662)</span>
</div>
</foreignObject>
<foreignObject transform="translate( -130.0703125, 13)" height="18" width="209">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">-units : ST::(anonymous_792)</span>
</div>
</foreignObject>
</g>
</g>
</a>
<a transform="translate(79.9453125, 418.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/20093b9b1c52688ac0bc91620281dc445d2db9c6/tests/t00037/t00037.cc#L6">
<g title="ST##(dimensions)" id="classId-C_0001980820317972901050-1" class="node default clickable">
<rect height="145" width="143.890625" y="-72.5" x="-71.9453125" class="outer title-state"/>
<line y2="-42.5" y1="-42.5" x2="71.9453125" x1="-71.9453125" class="divider"/>
<line y2="61.5" y1="61.5" x2="71.9453125" x1="-71.9453125" class="divider"/>
<g class="label">
<foreignObject height="0" width="0">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel"/>
</div>
</foreignObject>
<foreignObject transform="translate( -64.4453125, -65)" height="18" width="128.890625" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">ST::(dimensions)</span>
</div>
</foreignObject>
<foreignObject transform="translate( -64.4453125, -31)" height="18" width="75.171875">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+t : double</span>
</div>
</foreignObject>
<foreignObject transform="translate( -64.4453125, -9)" height="18" width="78.734375">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+x : double</span>
</div>
</foreignObject>
<foreignObject transform="translate( -64.4453125, 13)" height="18" width="78.734375">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+y : double</span>
</div>
</foreignObject>
<foreignObject transform="translate( -64.4453125, 35)" height="18" width="78.734375">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+z : double</span>
</div>
</foreignObject>
</g>
</g>
</a>
<a transform="translate(249.203125, 418.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/20093b9b1c52688ac0bc91620281dc445d2db9c6/tests/t00037/t00037.cc#L14">
<g title="ST##(units)" id="classId-C_0001811145508890403377-2" class="node default clickable">
<rect height="101" width="94.625" y="-50.5" x="-47.3125" class="outer title-state"/>
<line y2="-20.5" y1="-20.5" x2="47.3125" x1="-47.3125" class="divider"/>
<line y2="39.5" y1="39.5" x2="47.3125" x1="-47.3125" class="divider"/>
<g class="label">
<foreignObject height="0" width="0">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel"/>
</div>
</foreignObject>
<foreignObject transform="translate( -39.1015625, -43)" height="18" width="78.203125" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">ST::(units)</span>
</div>
</foreignObject>
<foreignObject transform="translate( -39.8125, -9)" height="18" width="78.734375">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+c : double</span>
</div>
</foreignObject>
<foreignObject transform="translate( -39.8125, 13)" height="18" width="79.625">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+h : double</span>
</div>
</foreignObject>
</g>
</g>
</a>
<a transform="translate(164.57421875, 58.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/20093b9b1c52688ac0bc91620281dc445d2db9c6/tests/t00037/t00037.cc#L20">
<g title="A" id="classId-C_0001322794181774144954-3" class="node default clickable">
<rect height="101" width="88.359375" y="-50.5" x="-44.1796875" class="outer title-state"/>
<line y2="-20.5" y1="-20.5" x2="44.1796875" x1="-44.1796875" class="divider"/>
<line y2="17.5" y1="17.5" x2="44.1796875" x1="-44.1796875" class="divider"/>
<g class="label">
<foreignObject height="0" width="0">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel"/>
</div>
</foreignObject>
<foreignObject transform="translate( -5.78125, -43)" height="18" width="11.5625" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">A</span>
</div>
</foreignObject>
<foreignObject transform="translate( -36.6796875, -9)" height="18" width="55.578125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+st : ST</span>
</div>
</foreignObject>
<foreignObject transform="translate( -36.6796875, 25)" height="18" width="73.359375">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+A() : void</span>
</div>
</foreignObject>
</g>
</g>
</a>
</g>
</g>
</g>
</svg>