Files
cpp-courseware/2.Course/1.深入浅出程序设计竞赛(基础篇)/书籍:深入浅出程序设计竞赛(基础篇)/images/svg/5b15575d1bb98bb41e0f59aaa57d0a9f4e54d50f39e0f78f9a9f4615840503a6.svg
T

49 lines
4.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1030" height="420" viewBox="0 0 1030 420" role="img" aria-labelledby="title desc">
<title id="title">结点7查找根结点时的路径压缩</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="1030" height="420" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<line x1="185" y1="55" x2="65" y2="175" stroke="#417b63" stroke-width="2"/>
<line x1="185" y1="55" x2="185" y2="175" stroke="#417b63" stroke-width="2"/>
<line x1="185" y1="55" x2="310" y2="175" stroke="#417b63" stroke-width="2"/>
<line x1="185" y1="175" x2="120" y2="285" stroke="#417b63" stroke-width="2"/>
<line x1="185" y1="175" x2="255" y2="285" stroke="#417b63" stroke-width="2"/>
<line x1="255" y1="285" x2="335" y2="385" stroke="#417b63" stroke-width="2"/>
<circle cx="185" cy="55" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="185" y="55.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">1</text>
<circle cx="65" cy="175" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="65" y="175.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">2</text>
<circle cx="185" cy="175" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="185" y="175.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">3</text>
<circle cx="310" cy="175" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="310" y="175.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">6</text>
<circle cx="120" cy="285" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="120" y="285.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">4</text>
<circle cx="255" cy="285" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="255" y="285.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">5</text>
<circle cx="335" cy="385" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="335" y="385.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">7</text>
<line x1="690" y1="80" x2="550" y2="210" stroke="#417b63" stroke-width="2"/>
<line x1="690" y1="80" x2="660" y2="210" stroke="#417b63" stroke-width="2"/>
<line x1="690" y1="80" x2="770" y2="210" stroke="#417b63" stroke-width="2"/>
<line x1="690" y1="80" x2="875" y2="225" stroke="#417b63" stroke-width="2"/>
<line x1="690" y1="80" x2="985" y2="225" stroke="#417b63" stroke-width="2"/>
<line x1="660" y1="210" x2="600" y2="335" stroke="#417b63" stroke-width="2"/>
<circle cx="690" cy="80" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="690" y="80.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">1</text>
<circle cx="550" cy="210" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="550" y="210.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">2</text>
<circle cx="660" cy="210" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="660" y="210.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">3</text>
<circle cx="770" cy="210" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="770" y="210.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">6</text>
<circle cx="875" cy="225" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="875" y="225.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">5</text>
<circle cx="985" cy="225" r="28" fill="#c9dfcf" stroke="#417b63" stroke-width="2"/>
<text x="985" y="225.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">7</text>
<circle cx="600" cy="335" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="600" y="335.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">4</text>
<line x1="390" y1="220" x2="454" y2="220" stroke="#417b63" stroke-width="8"/>
<polygon points="453,205 478,220 453,235" fill="#417b63" stroke="#417b63" stroke-width="2"/>
</g></svg>