mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-21 04:18:34 +08:00
84 lines
4.1 KiB
XML
84 lines
4.1 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 14.0.0 (20250921.2048)
|
|
-->
|
|
<!-- Title: Queue Pages: 1 -->
|
|
<svg width="100pt" height="205pt"
|
|
viewBox="0.00 0.00 100.00 205.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 200.5)">
|
|
<title>Queue</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title=" ">
|
|
<polygon fill="#999999" stroke="#666666" points="44.5,-19.25 0,-19.25 0,0 44.5,0 44.5,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="22.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">Queue</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a xlink:href="../../d5/da1/structnode.html" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="40.75,-159.38 3.75,-159.38 3.75,-140.12 40.75,-140.12 40.75,-159.38"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="22.25" y="-145.88" font-family="Helvetica,sans-Serif" font-size="10.00">node</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="M22.25,-128.34C22.25,-97.77 22.25,-41.34 22.25,-19.54"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="18.75,-128.17 22.25,-138.17 25.75,-128.17 18.75,-128.17"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="25.25" y="-72.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">front</text>
|
|
<text xml:space="preserve" text-anchor="start" x="25.25" y="-57.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">rear</text>
|
|
<text xml:space="preserve" text-anchor="start" x="25.25" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">t</text>
|
|
</g>
|
|
<!-- Node2->Node2 -->
|
|
<g id="edge2_Node000002_Node000002" class="edge">
|
|
<title>Node2->Node2</title>
|
|
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M39.62,-165.48C49.54,-168.63 58.75,-163.38 58.75,-149.75 58.75,-131.57 42.38,-128.31 29.78,-139.95"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="41.44,-162.5 31.07,-160.33 37.83,-168.49 41.44,-162.5"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="61.75" y="-184" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">left</text>
|
|
<text xml:space="preserve" text-anchor="start" x="61.75" y="-168.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">link</text>
|
|
<text xml:space="preserve" text-anchor="start" x="61.75" y="-153.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">next</text>
|
|
<text xml:space="preserve" text-anchor="start" x="61.75" y="-138.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">parent</text>
|
|
<text xml:space="preserve" text-anchor="start" x="61.75" y="-123" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">prev</text>
|
|
<text xml:space="preserve" text-anchor="start" x="61.75" y="-107.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">right</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>
|