Files
clang-uml/docs/test_cases/t00024_class_mermaid.svg
2023-12-22 22:30:06 +01:00

239 lines
18 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 613.1875 374" style="max-width: 613.188px; background-color: white;" width="613.1875" 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:transparent!important;stroke:#333333!important;stroke-width:1;}#my-svg #extensionEnd,#my-svg .extension{fill:transparent!important;stroke:#333333!important;stroke-width:1;}#my-svg #aggregationStart,#my-svg .aggregation{fill:transparent!important;stroke:#333333!important;stroke-width:1;}#my-svg #aggregationEnd,#my-svg .aggregation{fill:transparent!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="18" class="marker aggregation classDiagram" id="my-svg_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="1" class="marker aggregation classDiagram" id="my-svg_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="18" class="marker extension classDiagram" id="my-svg_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="1" class="marker extension classDiagram" id="my-svg_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="18" class="marker composition classDiagram" id="my-svg_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="1" class="marker composition classDiagram" id="my-svg_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="6" class="marker dependency classDiagram" id="my-svg_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="13" class="marker dependency classDiagram" id="my-svg_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="13" class="marker lollipop classDiagram" id="my-svg_classDiagram-lollipopStart">
<circle r="6" cy="7" cx="7" fill="transparent" stroke="black"/>
</marker>
</defs>
<defs>
<marker orient="auto" markerHeight="240" markerWidth="190" refY="7" refX="1" class="marker lollipop classDiagram" id="my-svg_classDiagram-lollipopEnd">
<circle r="6" cy="7" cx="7" fill="transparent" stroke="black"/>
</marker>
</defs>
<g class="root">
<g class="clusters"/>
<g class="edgePaths">
<path marker-start="url(#my-svg_classDiagram-extensionStart)" style="fill:none" class="edge-pattern-solid relation" id="id1" d="M145.64356762080973,134.48745308187347L131.77068135067478,143.23954423489457C117.89779508053982,151.99163538791564,90.15202254026991,169.49581769395783,76.27913627013496,187.58124218031222C62.40625,205.66666666666666,62.40625,224.33333333333334,62.40625,233.66666666666666L62.40625,243"/>
<path marker-start="url(#my-svg_classDiagram-extensionStart)" style="fill:none" class="edge-pattern-solid relation" id="id2" d="M222.7284991519119,170.92117153213803L222.47687429325993,173.6009762767817C222.22524943460795,176.28078102142535,221.721999717304,181.64039051071268,221.47037485865198,193.65352858868968C221.21875,205.66666666666666,221.21875,224.33333333333334,221.21875,233.66666666666666L221.21875,243"/>
<path marker-end="url(#my-svg_classDiagram-dependencyEnd)" style="fill:none" class="edge-pattern-solid relation" id="id3" d="M483.8663072183099,221L485.30916226525824,215.33333333333334C486.7520173122066,209.66666666666666,489.6377274061033,198.33333333333334,460.18110130043965,180.07295939628645C430.724475194776,161.81258545923959,368.92551288955195,136.62517091847914,338.02603173693996,124.03146364809895L307.1265505843279,111.43775637771873"/>
<path marker-start="url(#my-svg_classDiagram-extensionStart)" style="fill:none" class="edge-pattern-solid relation" id="id4" d="M315.1349580451977,153.69847376965285L321.4978817043314,159.24872814137737C327.86080536346515,164.7989825131019,340.5866526817326,175.89949125655096,352.9138760278772,187.11641229494217C365.24109937402187,198.33333333333334,377.1696987480438,209.66666666666666,383.13399843505476,215.33333333333334L389.0982981220657,221"/>
</g>
<g class="edgeLabels">
<g class="edgeLabel">
<g transform="translate(0, 0)" class="label">
<foreignObject height="0" width="0">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel"/>
</div>
</foreignObject>
</g>
</g>
<g class="edgeLabel">
<g transform="translate(0, 0)" class="label">
<foreignObject height="0" width="0">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel"/>
</div>
</foreignObject>
</g>
</g>
<g transform="translate(492.5234375, 187)" class="edgeLabel">
<g transform="translate(-34.234375, -9)" class="label">
<foreignObject height="18" width="68.46875">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel">
<span class="edgeLabel">-m_target</span>
</span>
</div>
</foreignObject>
</g>
</g>
<g class="edgeLabel">
<g transform="translate(0, 0)" class="label">
<foreignObject height="0" width="0">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="edgeLabel"/>
</div>
</foreignObject>
</g>
</g>
</g>
<g class="nodes">
<a transform="translate(231.21875, 80.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t00024/t00024.cc#L6">
<g title="Target" id="classId-C_0001116408959993110019-0" class="node default clickable">
<rect height="145" width="140.703125" y="-72.5" x="-70.3515625" class="outer title-state"/>
<line y2="-20.5" y1="-20.5" x2="70.3515625" x1="-70.3515625" class="divider"/>
<line y2="-4.5" y1="-4.5" x2="70.3515625" x1="-70.3515625" class="divider"/>
<g class="label">
<foreignObject transform="translate( -37.359375, -65)" height="18" width="74.71875">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">«abstract»</span>
</div>
</foreignObject>
<foreignObject transform="translate( -23.859375, -43)" height="18" width="47.71875" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">Target</span>
</div>
</foreignObject>
<foreignObject transform="translate( -62.8515625, 3)" height="18" width="125.703125">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-style: italic; display: inline-block; white-space: nowrap;">
<span style="font-style:italic;" class="nodeLabel">+~Target() : : void</span>
</div>
</foreignObject>
<foreignObject transform="translate( -62.8515625, 25)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-style: italic; display: inline-block; white-space: nowrap;">
<span style="font-style:italic;" class="nodeLabel">+m1() : : void</span>
</div>
</foreignObject>
<foreignObject transform="translate( -62.8515625, 47)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-style: italic; display: inline-block; white-space: nowrap;">
<span style="font-style:italic;" class="nodeLabel">+m2() : : void</span>
</div>
</foreignObject>
</g>
</g>
</a>
<a transform="translate(62.40625, 293.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t00024/t00024.cc#L14">
<g title="Target1" id="classId-C_0000669517069151826610-1" class="node default clickable">
<rect height="101" width="108.8125" y="-50.5" x="-54.40625" class="outer title-state"/>
<line y2="-20.5" y1="-20.5" x2="54.40625" x1="-54.40625" class="divider"/>
<line y2="-4.5" y1="-4.5" x2="54.40625" x1="-54.40625" 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( -28.3046875, -43)" height="18" width="56.609375" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">Target1</span>
</div>
</foreignObject>
<foreignObject transform="translate( -46.90625, 3)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+m1() : : void</span>
</div>
</foreignObject>
<foreignObject transform="translate( -46.90625, 25)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+m2() : : void</span>
</div>
</foreignObject>
</g>
</g>
</a>
<a transform="translate(221.21875, 293.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t00024/t00024.cc#L20">
<g title="Target2" id="classId-C_0001210513233906695933-2" class="node default clickable">
<rect height="101" width="108.8125" y="-50.5" x="-54.40625" class="outer title-state"/>
<line y2="-20.5" y1="-20.5" x2="54.40625" x1="-54.40625" class="divider"/>
<line y2="-4.5" y1="-4.5" x2="54.40625" x1="-54.40625" 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( -28.3046875, -43)" height="18" width="56.609375" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">Target2</span>
</div>
</foreignObject>
<foreignObject transform="translate( -46.90625, 3)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+m1() : : void</span>
</div>
</foreignObject>
<foreignObject transform="translate( -46.90625, 25)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+m2() : : void</span>
</div>
</foreignObject>
</g>
</g>
</a>
<a transform="translate(465.40625, 293.5)" xlink:href="https://github.com/bkryza/clang-uml/blob/427d110b37885e5ce52a6525f175236affea35fa/tests/t00024/t00024.cc#L26">
<g title="Proxy" id="classId-C_0000594707401639991215-3" class="node default clickable">
<rect height="145" width="279.5625" y="-72.5" x="-139.78125" class="outer title-state"/>
<line y2="-42.5" y1="-42.5" x2="139.78125" x1="-139.78125" class="divider"/>
<line y2="-4.5" y1="-4.5" x2="139.78125" x1="-139.78125" 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( -22.234375, -65)" height="18" width="44.46875" class="classTitle">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">Proxy</span>
</div>
</foreignObject>
<foreignObject transform="translate( -132.28125, -31)" height="18" width="251.6875">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">-m_target : std::shared_ptr&lt;Target&gt;</span>
</div>
</foreignObject>
<foreignObject transform="translate( -132.28125, 3)" height="18" width="264.5625">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+Proxy(std::shared_ptr target) : : void</span>
</div>
</foreignObject>
<foreignObject transform="translate( -132.28125, 25)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+m1() : : void</span>
</div>
</foreignObject>
<foreignObject transform="translate( -132.28125, 47)" height="18" width="93.8125">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; white-space: nowrap;">
<span class="nodeLabel">+m2() : : void</span>
</div>
</foreignObject>
</g>
</g>
</a>
</g>
</g>
</g>
</svg>