Files

33 lines
3.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="500" height="405" viewBox="0 0 500 405" role="img" aria-labelledby="title desc">
<title id="title">二叉搜索树</title>
<desc id="desc">根据教材扫描图人工重绘的矢量教学示意图。文字与线条可无损缩放。</desc>
<defs><marker id="arrow" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 L9 4.5 L0 9 Z" fill="#417b63"/></marker></defs>
<rect width="500" height="405" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<line x1="231.13486194591238" y1="66.40446787311967" x2="156.12895462057813" y2="131.62699598210597" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="268.4985018348986" y1="66.81681984990782" x2="339.28167794491355" y2="131.16516176810325" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="120.66344139091679" y1="170.480798012976" x2="81.05694564217319" y2="227.06150622546687" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="149.3365586090832" y1="170.480798012976" x2="188.9430543578268" y2="227.06150622546687" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="192.9520312556961" y1="271.9053977169162" x2="163.49372499362036" y2="325.46595455705386" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="217.0479687443039" y1="271.9053977169162" x2="246.50627500637964" y2="325.46595455705386" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="375.6173761888606" y1="169.52172023607577" x2="422.50853866847615" y2="228.13567333559516" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="427.13760611431184" y1="271.4373231428136" x2="394.40588115197073" y2="325.99019808004874" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<circle cx="250" cy="50" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="250" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">8</text>
<circle cx="135" cy="150" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="135" y="150.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">3</text>
<circle cx="360" cy="150" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="360" y="150.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">10</text>
<circle cx="65" cy="250" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="65" y="250.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">1</text>
<circle cx="205" cy="250" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="205" y="250.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">6</text>
<circle cx="440" cy="250" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="440" y="250.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">14</text>
<circle cx="150" cy="350" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="150" y="350.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">4</text>
<circle cx="260" cy="350" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="260" y="350.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">7</text>
<circle cx="380" cy="350" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="380" y="350.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">13</text>
</g></svg>