mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-22 04:42:10 +08:00
146 lines
7.0 KiB
XML
146 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!-- Generated by graphviz version 13.1.2 (20250808.2320)
|
|
-->
|
|
<!-- Title: stack< ValueType > Pages: 1 -->
|
|
<svg width="340pt" height="195pt"
|
|
viewBox="0.00 0.00 340.00 195.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
|
|
|
<style type="text/css"><![CDATA[
|
|
.node, .edge {opacity: 0.7;}
|
|
.node.selected, .edge.selected {opacity: 1;}
|
|
.edge:hover path { stroke: red; }
|
|
.edge:hover polygon { stroke: red; fill: red; }
|
|
]]></style>
|
|
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
|
<svg id="graph" class="graph">
|
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 190.75)">
|
|
<title>stack< ValueType ></title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title="for std::invalid_argument">
|
|
<polygon fill="#999999" stroke="#666666" points="103,-19.25 0,-19.25 0,0 103,0 103,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="51.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack< ValueType ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="169.25,-103 55.75,-103 55.75,-72.5 169.25,-72.5 169.25,-103"/>
|
|
<text xml:space="preserve" text-anchor="start" x="63.75" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="112.5" y="-78.25" font-family="Helvetica,sans-Serif" font-size="10.00">< value_type > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node1 -->
|
|
<g id="edge1_Node000001_Node000002" class="edge">
|
|
<title>Node2->Node1</title>
|
|
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M64.39,-65.39C60.67,-62.2 57.35,-58.58 54.75,-54.5 48.01,-43.94 48.58,-28.9 49.85,-19.46"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="62.28,-68.18 72.43,-71.19 66.37,-62.5 62.28,-68.18"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="57.75" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">stackTop</text>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a xlink:href="../../db/d8b/struct_node.html" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="225.75,-19.25 121.25,-19.25 121.25,0 225.75,0 225.75,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="173.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">Node< value_type ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node3 -->
|
|
<g id="edge3_Node000003_Node000002" class="edge">
|
|
<title>Node2->Node3</title>
|
|
<g id="a_edge3_Node000003_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.31,-61C113.36,-52.77 115.76,-44.04 120.75,-37.25 126.52,-29.4 135.28,-23.71 144,-19.66"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="108.82,-60.71 111.68,-70.91 115.8,-61.15 108.82,-60.71"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="123.75" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">next</text>
|
|
</g>
|
|
<!-- Node3->Node2 -->
|
|
<g id="edge2_Node000002_Node000003" class="edge">
|
|
<title>Node3->Node2</title>
|
|
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M164.84,-29.87C160.77,-37.89 155.49,-47.05 149.5,-54.5 144.37,-60.88 137.89,-67 131.79,-72.17"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="167.94,-31.49 169.08,-20.96 161.62,-28.48 167.94,-31.49"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="163.83" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">ptr</text>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="Node000004" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_Node000004"><a xlink:href="../../db/d8b/struct_node.html" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="289.62,-97.38 187.38,-97.38 187.38,-78.12 289.62,-78.12 289.62,-97.38"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="238.5" y="-83.88" font-family="Helvetica,sans-Serif" font-size="10.00">Node< ValueType ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4->Node3 -->
|
|
<g id="edge4_Node000003_Node000004" class="edge">
|
|
<title>Node4->Node3</title>
|
|
<g id="a_edge4_Node000003_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M223.39,-69.06C210.19,-53.59 191.56,-31.77 181.2,-19.64"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="220.65,-71.24 229.81,-76.57 225.97,-66.69 220.65,-71.24"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="212.89" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">next</text>
|
|
</g>
|
|
<!-- Node4->Node4 -->
|
|
<g id="edge6_Node000004_Node000004" class="edge">
|
|
<title>Node4->Node4</title>
|
|
<g id="a_edge6_Node000004_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M301.13,-93.32C305.18,-92.02 307.62,-90.16 307.62,-87.75 307.62,-83.58 300.31,-81.07 290.05,-80.22"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="300.78,-89.83 291.54,-95.01 302,-96.72 300.78,-89.83"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="310.62" y="-83.88" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">next</text>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="Node000005" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_Node000005"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="295.25,-186.75 181.75,-186.75 181.75,-156.25 295.25,-156.25 295.25,-186.75"/>
|
|
<text xml:space="preserve" text-anchor="start" x="189.75" y="-173.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="238.5" y="-162" font-family="Helvetica,sans-Serif" font-size="10.00">< ValueType > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node5->Node4 -->
|
|
<g id="edge5_Node000004_Node000005" class="edge">
|
|
<title>Node5->Node4</title>
|
|
<g id="a_edge5_Node000004_Node000005"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M238.5,-144.5C238.5,-128.45 238.5,-108.85 238.5,-97.68"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="235,-144.37 238.5,-154.37 242,-144.37 235,-144.37"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="241.5" y="-125.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">next</text>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
</svg>
|
|
|
|
<style type='text/css'>
|
|
<![CDATA[
|
|
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
|
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
|
]]>
|
|
</style>
|
|
<script type="application/ecmascript"><![CDATA[
|
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
highlightEdges();
|
|
highlightAdjacentNodes();
|
|
});
|
|
]]></script>
|
|
</svg>
|