mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-22 21:01:50 +08:00
146 lines
6.8 KiB
XML
146 lines
6.8 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 12.2.1 (20241206.2353)
|
|
-->
|
|
<!-- Title: stack< ValueType > Pages: 1 -->
|
|
<svg width="336pt" height="183pt"
|
|
viewBox="0.00 0.00 336.38 182.75" 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 178.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 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="168.25,-97 54.75,-97 54.75,-66.5 168.25,-66.5 168.25,-97"/>
|
|
<text text-anchor="start" x="62.75" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node</text>
|
|
<text text-anchor="middle" x="111.5" y="-72.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="M67.62,-59.27C63.86,-56.08 60.47,-52.5 57.75,-48.5 51.91,-39.9 50.86,-27.72 50.94,-19.51"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="65.51,-62.07 75.65,-65.12 69.63,-56.41 65.51,-62.07"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="79.12" y="-39" 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 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="M114.41,-55.12C116.08,-48.79 118.69,-42.37 122.75,-37.25 128.87,-29.53 137.85,-23.8 146.55,-19.68"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="111.04,-54.14 112.59,-64.62 117.91,-55.46 111.04,-54.14"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="133.62" y="-39" 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="M162.58,-29.33C158.5,-35.68 153.62,-42.65 148.5,-48.5 143,-54.79 136.29,-60.98 130.1,-66.24"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="165.55,-31.17 167.77,-20.81 159.58,-27.53 165.55,-31.17"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="164.05" y="-39" 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="288.62,-91.38 186.38,-91.38 186.38,-72.12 288.62,-72.12 288.62,-91.38"/>
|
|
<text text-anchor="middle" x="237.5" y="-77.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="M221.87,-63.62C209.2,-49.74 191.85,-30.73 181.74,-19.66"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="219.05,-65.72 228.37,-70.75 224.22,-61 219.05,-65.72"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="218.29" y="-39" 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="M300.13,-86.92C304.18,-85.71 306.62,-83.99 306.62,-81.75 306.62,-77.88 299.31,-75.55 289.05,-74.76"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="299.84,-83.42 290.54,-88.49 300.98,-90.33 299.84,-83.42"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="317.5" y="-77.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="294.25,-174.75 180.75,-174.75 180.75,-144.25 294.25,-144.25 294.25,-174.75"/>
|
|
<text text-anchor="start" x="188.75" y="-161.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node</text>
|
|
<text text-anchor="middle" x="237.5" y="-150" 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="M237.5,-132.73C237.5,-118.47 237.5,-101.66 237.5,-91.62"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="234,-132.38 237.5,-142.38 241,-132.38 234,-132.38"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="248.38" y="-116.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>
|