blog/files/ib002/rb-trees/rules/rb_height_dark.svg

260 lines
14 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: %3 Pages: 1 -->
<svg width="692pt" height="404pt"
viewBox="0.00 0.00 692.00 404.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 400)">
<title>%3</title>
<polygon fill="#1b1b1d" stroke="transparent" points="-4,4 -4,-400 688,-400 688,4 -4,4"/>
<!-- Node(value=3, rank=2) -->
<g id="node1" class="node">
<title>Node(value=3, rank=2)</title>
<ellipse fill="none" stroke="white" cx="273" cy="-378" rx="32.49" ry="18"/>
<text text-anchor="middle" x="273" y="-374.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">3⁽³⁾</text>
</g>
<!-- Node(value=1, rank=1) -->
<g id="node2" class="node">
<title>Node(value=1, rank=1)</title>
<ellipse fill="none" stroke="white" cx="207" cy="-306" rx="32.49" ry="18"/>
<text text-anchor="middle" x="207" y="-302.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">1⁽²⁾</text>
</g>
<!-- Node(value=3, rank=2)&#45;&gt;Node(value=1, rank=1) -->
<g id="edge1" class="edge">
<title>Node(value=3, rank=2)&#45;&gt;Node(value=1, rank=1)</title>
<path fill="none" stroke="white" d="M258.68,-361.81C249.98,-352.58 238.69,-340.61 228.89,-330.22"/>
<polygon fill="transparent" stroke="white" points="231.16,-327.52 221.75,-322.64 226.06,-332.32 231.16,-327.52"/>
</g>
<!-- Node(value=5, rank=1) -->
<g id="node7" class="node">
<title>Node(value=5, rank=1)</title>
<ellipse fill="none" stroke="white" cx="348" cy="-306" rx="32.49" ry="18"/>
<text text-anchor="middle" x="348" y="-302.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">5⁽²⁾</text>
</g>
<!-- Node(value=3, rank=2)&#45;&gt;Node(value=5, rank=1) -->
<g id="edge4" class="edge">
<title>Node(value=3, rank=2)&#45;&gt;Node(value=5, rank=1)</title>
<path fill="none" stroke="white" d="M288.91,-362.15C299.25,-352.5 312.91,-339.75 324.5,-328.94"/>
<polygon fill="transparent" stroke="white" points="327.19,-331.21 332.12,-321.82 322.42,-326.09 327.19,-331.21"/>
</g>
<!-- Node(value=0, rank=0) -->
<g id="node5" class="node">
<title>Node(value=0, rank=0)</title>
<ellipse fill="none" stroke="white" cx="99" cy="-234" rx="32.49" ry="18"/>
<text text-anchor="middle" x="99" y="-230.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">0⁽¹⁾</text>
</g>
<!-- Node(value=1, rank=1)&#45;&gt;Node(value=0, rank=0) -->
<g id="edge2" class="edge">
<title>Node(value=1, rank=1)&#45;&gt;Node(value=0, rank=0)</title>
<path fill="none" stroke="white" d="M186.69,-291.83C170.02,-281.03 146.22,-265.6 127.62,-253.55"/>
<polygon fill="transparent" stroke="white" points="129.52,-250.61 119.22,-248.11 125.71,-256.48 129.52,-250.61"/>
</g>
<!-- Node(value=2, rank=0) -->
<g id="node6" class="node">
<title>Node(value=2, rank=0)</title>
<ellipse fill="none" stroke="white" cx="207" cy="-234" rx="32.49" 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">2⁽¹⁾</text>
</g>
<!-- Node(value=1, rank=1)&#45;&gt;Node(value=2, rank=0) -->
<g id="edge3" class="edge">
<title>Node(value=1, rank=1)&#45;&gt;Node(value=2, rank=0)</title>
<path fill="none" stroke="white" d="M207,-287.7C207,-279.98 207,-270.71 207,-262.11"/>
<polygon fill="transparent" stroke="white" points="210.5,-262.1 207,-252.1 203.5,-262.1 210.5,-262.1"/>
</g>
<!-- Node(value=4, rank=0) -->
<g id="node3" class="node">
<title>Node(value=4, rank=0)</title>
<ellipse fill="none" stroke="white" cx="348" cy="-234" rx="32.49" ry="18"/>
<text text-anchor="middle" x="348" y="-230.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">4⁽¹⁾</text>
</g>
<!-- nil6 -->
<g id="node15" class="node">
<title>nil6</title>
<ellipse fill="none" stroke="white" cx="315" cy="-162" rx="27" ry="18"/>
<text text-anchor="middle" x="315" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=4, rank=0)&#45;&gt;nil6 -->
<g id="edge15" class="edge">
<title>Node(value=4, rank=0)&#45;&gt;nil6</title>
<path fill="none" stroke="white" d="M340.18,-216.41C336.28,-208.13 331.46,-197.92 327.1,-188.66"/>
<polygon fill="transparent" stroke="white" points="330.19,-187.02 322.76,-179.47 323.86,-190.01 330.19,-187.02"/>
</g>
<!-- nil7 -->
<g id="node16" class="node">
<title>nil7</title>
<ellipse fill="none" stroke="white" cx="387" cy="-162" rx="27" ry="18"/>
<text text-anchor="middle" x="387" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=4, rank=0)&#45;&gt;nil7 -->
<g id="edge16" class="edge">
<title>Node(value=4, rank=0)&#45;&gt;nil7</title>
<path fill="none" stroke="white" d="M357.24,-216.41C361.91,-208.04 367.66,-197.71 372.87,-188.37"/>
<polygon fill="transparent" stroke="white" points="376.01,-189.91 377.82,-179.47 369.9,-186.5 376.01,-189.91"/>
</g>
<!-- Node(value=7, rank=1) -->
<g id="node4" class="node">
<title>Node(value=7, rank=1)</title>
<ellipse fill="none" stroke="red" cx="464" cy="-234" rx="32.49" ry="18"/>
<text text-anchor="middle" x="464" y="-230.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">7⁽²⁾</text>
</g>
<!-- Node(value=6, rank=0) -->
<g id="node8" class="node">
<title>Node(value=6, rank=0)</title>
<ellipse fill="none" stroke="white" cx="464" cy="-162" rx="32.49" ry="18"/>
<text text-anchor="middle" x="464" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">6⁽¹⁾</text>
</g>
<!-- Node(value=7, rank=1)&#45;&gt;Node(value=6, rank=0) -->
<g id="edge7" class="edge">
<title>Node(value=7, rank=1)&#45;&gt;Node(value=6, rank=0)</title>
<path fill="none" stroke="white" d="M464,-215.7C464,-207.98 464,-198.71 464,-190.11"/>
<polygon fill="transparent" stroke="white" points="467.5,-190.1 464,-180.1 460.5,-190.1 467.5,-190.1"/>
</g>
<!-- Node(value=8, rank=0) -->
<g id="node9" class="node">
<title>Node(value=8, rank=0)</title>
<ellipse fill="none" stroke="white" cx="547" cy="-162" rx="32.49" ry="18"/>
<text text-anchor="middle" x="547" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">8⁽¹⁾</text>
</g>
<!-- Node(value=7, rank=1)&#45;&gt;Node(value=8, rank=0) -->
<g id="edge8" class="edge">
<title>Node(value=7, rank=1)&#45;&gt;Node(value=8, rank=0)</title>
<path fill="none" stroke="white" d="M481.2,-218.5C492.99,-208.55 508.84,-195.19 522.02,-184.07"/>
<polygon fill="transparent" stroke="white" points="524.44,-186.61 529.82,-177.49 519.92,-181.26 524.44,-186.61"/>
</g>
<!-- nil2 -->
<g id="node11" class="node">
<title>nil2</title>
<ellipse fill="none" stroke="white" cx="27" cy="-162" rx="27" ry="18"/>
<text text-anchor="middle" x="27" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=0, rank=0)&#45;&gt;nil2 -->
<g id="edge11" class="edge">
<title>Node(value=0, rank=0)&#45;&gt;nil2</title>
<path fill="none" stroke="white" d="M83.38,-217.81C73.3,-208.01 60.04,-195.12 48.91,-184.3"/>
<polygon fill="transparent" stroke="white" points="51.22,-181.67 41.61,-177.21 46.34,-186.69 51.22,-181.67"/>
</g>
<!-- nil3 -->
<g id="node12" class="node">
<title>nil3</title>
<ellipse fill="none" stroke="white" cx="99" cy="-162" rx="27" ry="18"/>
<text text-anchor="middle" x="99" y="-158.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=0, rank=0)&#45;&gt;nil3 -->
<g id="edge12" class="edge">
<title>Node(value=0, rank=0)&#45;&gt;nil3</title>
<path fill="none" stroke="white" d="M99,-215.7C99,-207.98 99,-198.71 99,-190.11"/>
<polygon fill="transparent" stroke="white" points="102.5,-190.1 99,-180.1 95.5,-190.1 102.5,-190.1"/>
</g>
<!-- nil4 -->
<g id="node13" class="node">
<title>nil4</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">nil</text>
</g>
<!-- Node(value=2, rank=0)&#45;&gt;nil4 -->
<g id="edge13" class="edge">
<title>Node(value=2, rank=0)&#45;&gt;nil4</title>
<path fill="none" stroke="white" d="M198.47,-216.41C194.16,-208.04 188.85,-197.71 184.05,-188.37"/>
<polygon fill="transparent" stroke="white" points="187.16,-186.76 179.47,-179.47 180.93,-189.96 187.16,-186.76"/>
</g>
<!-- nil5 -->
<g id="node14" class="node">
<title>nil5</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">nil</text>
</g>
<!-- Node(value=2, rank=0)&#45;&gt;nil5 -->
<g id="edge14" class="edge">
<title>Node(value=2, rank=0)&#45;&gt;nil5</title>
<path fill="none" stroke="white" d="M215.53,-216.41C219.84,-208.04 225.15,-197.71 229.95,-188.37"/>
<polygon fill="transparent" stroke="white" points="233.07,-189.96 234.53,-179.47 226.84,-186.76 233.07,-189.96"/>
</g>
<!-- Node(value=5, rank=1)&#45;&gt;Node(value=4, rank=0) -->
<g id="edge5" class="edge">
<title>Node(value=5, rank=1)&#45;&gt;Node(value=4, rank=0)</title>
<path fill="none" stroke="white" d="M348,-287.7C348,-279.98 348,-270.71 348,-262.11"/>
<polygon fill="transparent" stroke="white" points="351.5,-262.1 348,-252.1 344.5,-262.1 351.5,-262.1"/>
</g>
<!-- Node(value=5, rank=1)&#45;&gt;Node(value=7, rank=1) -->
<g id="edge6" class="edge">
<title>Node(value=5, rank=1)&#45;&gt;Node(value=7, rank=1)</title>
<path fill="none" stroke="red" d="M369.28,-292.16C387.51,-281.16 413.96,-265.19 434.29,-252.93"/>
<polygon fill="transparent" stroke="red" points="436.11,-255.92 442.86,-247.76 432.49,-249.93 436.11,-255.92"/>
</g>
<!-- nil8 -->
<g id="node17" class="node">
<title>nil8</title>
<ellipse fill="none" stroke="white" cx="395" cy="-90" rx="27" ry="18"/>
<text text-anchor="middle" x="395" y="-86.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=6, rank=0)&#45;&gt;nil8 -->
<g id="edge17" class="edge">
<title>Node(value=6, rank=0)&#45;&gt;nil8</title>
<path fill="none" stroke="white" d="M449.03,-145.81C439.59,-136.23 427.24,-123.7 416.73,-113.04"/>
<polygon fill="transparent" stroke="white" points="418.98,-110.34 409.47,-105.68 414,-115.26 418.98,-110.34"/>
</g>
<!-- nil9 -->
<g id="node18" class="node">
<title>nil9</title>
<ellipse fill="none" stroke="white" cx="467" cy="-90" rx="27" ry="18"/>
<text text-anchor="middle" x="467" y="-86.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=6, rank=0)&#45;&gt;nil9 -->
<g id="edge18" class="edge">
<title>Node(value=6, rank=0)&#45;&gt;nil9</title>
<path fill="none" stroke="white" d="M464.74,-143.7C465.07,-135.98 465.47,-126.71 465.84,-118.11"/>
<polygon fill="transparent" stroke="white" points="469.34,-118.25 466.27,-108.1 462.34,-117.95 469.34,-118.25"/>
</g>
<!-- nil1 -->
<g id="node10" class="node">
<title>nil1</title>
<ellipse fill="none" stroke="white" cx="544" cy="-90" rx="27" ry="18"/>
<text text-anchor="middle" x="544" y="-86.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=8, rank=0)&#45;&gt;nil1 -->
<g id="edge9" class="edge">
<title>Node(value=8, rank=0)&#45;&gt;nil1</title>
<path fill="none" stroke="white" d="M546.26,-143.7C545.93,-135.98 545.53,-126.71 545.16,-118.11"/>
<polygon fill="transparent" stroke="white" points="548.66,-117.95 544.73,-108.1 541.66,-118.25 548.66,-117.95"/>
</g>
<!-- Node(value=9, rank=0) -->
<g id="node21" class="node">
<title>Node(value=9, rank=0)</title>
<ellipse fill="none" stroke="red" cx="621" cy="-90" rx="32.49" ry="18"/>
<text text-anchor="middle" x="621" y="-86.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">9⁽¹⁾</text>
</g>
<!-- Node(value=8, rank=0)&#45;&gt;Node(value=9, rank=0) -->
<g id="edge10" class="edge">
<title>Node(value=8, rank=0)&#45;&gt;Node(value=9, rank=0)</title>
<path fill="none" stroke="red" d="M562.69,-146.15C572.9,-136.5 586.38,-123.75 597.81,-112.94"/>
<polygon fill="transparent" stroke="red" points="600.47,-115.24 605.33,-105.82 595.66,-110.15 600.47,-115.24"/>
</g>
<!-- nil10 -->
<g id="node19" class="node">
<title>nil10</title>
<ellipse fill="none" stroke="white" cx="585" cy="-18" rx="27" ry="18"/>
<text text-anchor="middle" x="585" y="-14.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- nil11 -->
<g id="node20" class="node">
<title>nil11</title>
<ellipse fill="none" stroke="white" cx="657" cy="-18" rx="27" ry="18"/>
<text text-anchor="middle" x="657" y="-14.3" font-family="'Cascadia Code PL', 'JetBrains Mono', 'Iosevka', 'Fira Code', 'Hack', monospace" font-size="14.00" fill="white">nil</text>
</g>
<!-- Node(value=9, rank=0)&#45;&gt;nil10 -->
<g id="edge19" class="edge">
<title>Node(value=9, rank=0)&#45;&gt;nil10</title>
<path fill="none" stroke="white" d="M612.47,-72.41C608.16,-64.04 602.85,-53.71 598.05,-44.37"/>
<polygon fill="transparent" stroke="white" points="601.16,-42.76 593.47,-35.47 594.93,-45.96 601.16,-42.76"/>
</g>
<!-- Node(value=9, rank=0)&#45;&gt;nil11 -->
<g id="edge20" class="edge">
<title>Node(value=9, rank=0)&#45;&gt;nil11</title>
<path fill="none" stroke="white" d="M629.53,-72.41C633.84,-64.04 639.15,-53.71 643.95,-44.37"/>
<polygon fill="transparent" stroke="white" points="647.07,-45.96 648.53,-35.47 640.84,-42.76 647.07,-45.96"/>
</g>
</g>
</svg>