mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-30 16:51:57 +08:00
97 lines
4.2 KiB
XML
97 lines
4.2 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.1.0 (20240811.2233)
|
|
-->
|
|
<!-- Title: Trie Pages: 1 -->
|
|
<svg width="161pt" height="105pt"
|
|
viewBox="0.00 0.00 161.38 105.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 101)">
|
|
<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 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 target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="125.62,-97 18.88,-97 18.88,-66.5 125.62,-66.5 125.62,-97"/>
|
|
<text text-anchor="start" x="26.88" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Trie</text>
|
|
<text text-anchor="middle" x="72.25" y="-72.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="M39,-59.16C35.39,-55.89 32.03,-52.32 29.25,-48.5 22.95,-39.84 19.53,-27.9 17.8,-19.75"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="36.55,-61.68 46.51,-65.27 40.96,-56.25 36.55,-61.68"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="45.75" y="-39" 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="153.38,-19.25 75.12,-19.25 75.12,0 153.38,0 153.38,-19.25"/>
|
|
<text text-anchor="middle" x="114.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="M66.1,-54.9C65.88,-48.8 66.75,-42.54 69.75,-37.25 74.19,-29.42 81.95,-23.64 89.76,-19.51"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="62.61,-55.18 67.39,-64.63 69.55,-54.26 62.61,-55.18"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="91.5" y="-39" 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="M119.79,-30.81C120.41,-36.77 120.01,-43.13 117.25,-48.5 113.65,-55.51 107.74,-61.34 101.37,-66.02"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="123.23,-30.16 117.81,-21.05 116.37,-31.55 123.23,-30.16"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="127.1" y="-39" 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>
|