blog/files/ib002/rb-trees/rules/red-root/rr_5_dark.svg

157 lines
7.7 KiB
XML
Raw Normal View History

<?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 2.43.0 (0)
-->
<!-- Title: RBTree Pages: 1 -->
<svg width="422pt" height="260pt"
viewBox="0.00 0.00 422.00 260.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 256)">
<title>RBTree</title>
<polygon fill="#1b1b1d" stroke="transparent" points="-4,4 -4,-256 418,-256 418,4 -4,4"/>
<!-- 139660434247376 -->
<g id="node1" class="node">
<title>139660434247376</title>
<ellipse fill="none" stroke="red" cx="207" cy="-234" rx="27" ry="18"/>
<text text-anchor="middle" x="207" y="-230.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">9</text>
</g>
<!-- 139660436098128 -->
<g id="node2" class="node">
<title>139660436098128</title>
<ellipse fill="none" stroke="white" cx="171" cy="-162" rx="27" ry="18"/>
<text text-anchor="middle" x="171" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">5</text>
</g>
<!-- 139660434247376&#45;&gt;139660436098128 -->
<g id="edge1" class="edge">
<title>139660434247376&#45;&gt;139660436098128</title>
<path fill="none" stroke="white" d="M198.65,-216.76C194.29,-208.28 188.85,-197.71 183.96,-188.2"/>
<polygon fill="transparent" stroke="white" points="186.99,-186.44 179.3,-179.15 180.77,-189.64 186.99,-186.44"/>
</g>
<!-- 139660435793424 -->
<g id="node7" class="node">
<title>139660435793424</title>
<ellipse fill="none" stroke="white" cx="243" cy="-162" rx="27" ry="18"/>
<text text-anchor="middle" x="243" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">15</text>
</g>
<!-- 139660434247376&#45;&gt;139660435793424 -->
<g id="edge6" class="edge">
<title>139660434247376&#45;&gt;139660435793424</title>
<path fill="none" stroke="white" d="M215.35,-216.76C219.71,-208.28 225.15,-197.71 230.04,-188.2"/>
<polygon fill="transparent" stroke="white" points="233.23,-189.64 234.7,-179.15 227.01,-186.44 233.23,-189.64"/>
</g>
<!-- 139660435887760 -->
<g id="node3" class="node">
<title>139660435887760</title>
<ellipse fill="none" stroke="red" cx="99" cy="-90" rx="27" ry="18"/>
<text text-anchor="middle" x="99" y="-86.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">2</text>
</g>
<!-- 139660436098128&#45;&gt;139660435887760 -->
<g id="edge2" class="edge">
<title>139660436098128&#45;&gt;139660435887760</title>
<path fill="none" stroke="red" d="M156.43,-146.83C146.25,-136.94 132.48,-123.55 120.97,-112.36"/>
<polygon fill="transparent" stroke="red" points="123.41,-109.85 113.8,-105.38 118.53,-114.87 123.41,-109.85"/>
</g>
<!-- R139660436098128 -->
<g id="node6" class="node">
<title>R139660436098128</title>
<ellipse fill="none" stroke="transparent" cx="171" cy="-90" rx="27" ry="18"/>
</g>
<!-- 139660436098128&#45;&gt;R139660436098128 -->
<g id="edge5" class="edge">
<title>139660436098128&#45;&gt;R139660436098128</title>
<path fill="none" stroke="white" d="M171,-143.7C171,-135.98 171,-126.71 171,-118.11"/>
<polygon fill="transparent" stroke="white" points="174.5,-118.1 171,-108.1 167.5,-118.1 174.5,-118.1"/>
</g>
<!-- L139660435887760 -->
<g id="node4" class="node">
<title>L139660435887760</title>
<ellipse fill="none" stroke="transparent" cx="27" cy="-18" rx="27" ry="18"/>
</g>
<!-- 139660435887760&#45;&gt;L139660435887760 -->
<g id="edge3" class="edge">
<title>139660435887760&#45;&gt;L139660435887760</title>
<path fill="none" stroke="white" d="M84.43,-74.83C74.25,-64.94 60.48,-51.55 48.97,-40.36"/>
<polygon fill="transparent" stroke="white" points="51.41,-37.85 41.8,-33.38 46.53,-42.87 51.41,-37.85"/>
</g>
<!-- R139660435887760 -->
<g id="node5" class="node">
<title>R139660435887760</title>
<ellipse fill="none" stroke="transparent" cx="99" cy="-18" rx="27" ry="18"/>
</g>
<!-- 139660435887760&#45;&gt;R139660435887760 -->
<g id="edge4" class="edge">
<title>139660435887760&#45;&gt;R139660435887760</title>
<path fill="none" stroke="white" d="M99,-71.7C99,-63.98 99,-54.71 99,-46.11"/>
<polygon fill="transparent" stroke="white" points="102.5,-46.1 99,-36.1 95.5,-46.1 102.5,-46.1"/>
</g>
<!-- 139660435791312 -->
<g id="node8" class="node">
<title>139660435791312</title>
<ellipse fill="none" stroke="red" cx="243" cy="-90" rx="27" ry="18"/>
<text text-anchor="middle" x="243" y="-86.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">12</text>
</g>
<!-- 139660435793424&#45;&gt;139660435791312 -->
<g id="edge7" class="edge">
<title>139660435793424&#45;&gt;139660435791312</title>
<path fill="none" stroke="red" d="M243,-143.7C243,-135.98 243,-126.71 243,-118.11"/>
<polygon fill="transparent" stroke="red" points="246.5,-118.1 243,-108.1 239.5,-118.1 246.5,-118.1"/>
</g>
<!-- 139660435887824 -->
<g id="node11" class="node">
<title>139660435887824</title>
<ellipse fill="none" stroke="red" cx="315" cy="-90" rx="27" ry="18"/>
<text text-anchor="middle" x="315" y="-86.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">18</text>
</g>
<!-- 139660435793424&#45;&gt;139660435887824 -->
<g id="edge10" class="edge">
<title>139660435793424&#45;&gt;139660435887824</title>
<path fill="none" stroke="red" d="M257.57,-146.83C267.75,-136.94 281.52,-123.55 293.03,-112.36"/>
<polygon fill="transparent" stroke="red" points="295.47,-114.87 300.2,-105.38 290.59,-109.85 295.47,-114.87"/>
</g>
<!-- L139660435791312 -->
<g id="node9" class="node">
<title>L139660435791312</title>
<ellipse fill="none" stroke="transparent" cx="171" cy="-18" rx="27" ry="18"/>
</g>
<!-- 139660435791312&#45;&gt;L139660435791312 -->
<g id="edge8" class="edge">
<title>139660435791312&#45;&gt;L139660435791312</title>
<path fill="none" stroke="white" d="M228.43,-74.83C218.25,-64.94 204.48,-51.55 192.97,-40.36"/>
<polygon fill="transparent" stroke="white" points="195.41,-37.85 185.8,-33.38 190.53,-42.87 195.41,-37.85"/>
</g>
<!-- R139660435791312 -->
<g id="node10" class="node">
<title>R139660435791312</title>
<ellipse fill="none" stroke="transparent" cx="243" cy="-18" rx="27" ry="18"/>
</g>
<!-- 139660435791312&#45;&gt;R139660435791312 -->
<g id="edge9" class="edge">
<title>139660435791312&#45;&gt;R139660435791312</title>
<path fill="none" stroke="white" d="M243,-71.7C243,-63.98 243,-54.71 243,-46.11"/>
<polygon fill="transparent" stroke="white" points="246.5,-46.1 243,-36.1 239.5,-46.1 246.5,-46.1"/>
</g>
<!-- L139660435887824 -->
<g id="node12" class="node">
<title>L139660435887824</title>
<ellipse fill="none" stroke="transparent" cx="315" cy="-18" rx="27" ry="18"/>
</g>
<!-- 139660435887824&#45;&gt;L139660435887824 -->
<g id="edge11" class="edge">
<title>139660435887824&#45;&gt;L139660435887824</title>
<path fill="none" stroke="white" d="M315,-71.7C315,-63.98 315,-54.71 315,-46.11"/>
<polygon fill="transparent" stroke="white" points="318.5,-46.1 315,-36.1 311.5,-46.1 318.5,-46.1"/>
</g>
<!-- R139660435887824 -->
<g id="node13" class="node">
<title>R139660435887824</title>
<ellipse fill="none" stroke="transparent" cx="387" cy="-18" rx="27" ry="18"/>
</g>
<!-- 139660435887824&#45;&gt;R139660435887824 -->
<g id="edge12" class="edge">
<title>139660435887824&#45;&gt;R139660435887824</title>
<path fill="none" stroke="white" d="M329.57,-74.83C339.75,-64.94 353.52,-51.55 365.03,-40.36"/>
<polygon fill="transparent" stroke="white" points="367.47,-42.87 372.2,-33.38 362.59,-37.85 367.47,-42.87"/>
</g>
</g>
</svg>