Files

22 lines
2.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="350" height="440" viewBox="0 0 350 440" 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="350" height="440" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<line x1="87.15598003898067" y1="372.8794699698786" x2="150.47016495684284" y2="323.95487253334875" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="195.71832205508642" y1="286.16516176810325" x2="262.06185772472577" y2="225.85285661388568" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="266.0797104015143" y1="184.35968407437923" x2="195.94746348403774" y2="107.85177834622299" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="83.9202895984857" y1="184.35968407437923" x2="154.05253651596226" y2="107.85177834622299" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<path d="M160 64 C127 -3 223 -3 190 62" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<circle cx="175" cy="85" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="175" y="85.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">4</text>
<circle cx="65" cy="205" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="65" y="205.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">3</text>
<circle cx="285" cy="205" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="285" y="205.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">5</text>
<circle cx="175" cy="305" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="175" y="305.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">2</text>
<circle cx="65" cy="390" r="28" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="65" y="390.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">1</text>
</g></svg>