mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-06-14 22:27:45 +08:00
97 lines
4.3 KiB
XML
97 lines
4.3 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: Trie Pages: 1 -->
|
|
<svg width="164pt" height="111pt"
|
|
viewBox="0.00 0.00 164.00 111.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 107)">
|
|
<title>Trie</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title=" ">
|
|
<polygon fill="#999999" stroke="#666666" points="32.5,-19.25 0,-19.25 0,0 32.5,0 32.5,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="16.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">Trie</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="128.62,-103 21.88,-103 21.88,-72.5 128.62,-72.5 128.62,-103"/>
|
|
<text xml:space="preserve" text-anchor="start" x="29.88" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Trie</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="75.25" y="-78.25" font-family="Helvetica,sans-Serif" font-size="10.00">::TrieNode ></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="M38.13,-65.22C34.43,-61.98 31.02,-58.4 28.25,-54.5 20.74,-43.95 17.93,-28.91 16.88,-19.46"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="35.87,-67.9 45.92,-71.22 40.14,-62.35 35.87,-67.9"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="31.25" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">m_root</text>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a xlink:href="../../de/d48/struct_trie_1_1_trie_node.html" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="156.38,-19.25 78.12,-19.25 78.12,0 156.38,0 156.38,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="117.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">Trie::TrieNode</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="M68.75,-61.18C68.02,-53.08 68.7,-44.39 72.75,-37.25 77.19,-29.42 84.95,-23.64 92.76,-19.51"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="65.27,-61.59 70.37,-70.87 72.18,-60.44 65.27,-61.59"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="75.75" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">character</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="M124.88,-30.41C126.7,-38.29 127.14,-47.2 123.25,-54.5 119.47,-61.59 113.37,-67.4 106.76,-72.03"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="128.27,-29.5 121.91,-21.02 121.6,-31.61 128.27,-29.5"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="129.23" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">ptr</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>
|