13 lines
1.3 KiB
XML
13 lines
1.3 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="260" height="210" viewBox="0 0 260 210" role="img" aria-labelledby="title desc">
|
|
<title id="title">并查集:结点1指向根结点2</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="260" height="210" fill="white"/>
|
|
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
|
|
<line x1="70" y1="150" x2="168" y2="88" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
|
|
<path d="M175 54 C142 -13 238 -13 205 52" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
|
|
<circle cx="60" cy="155" r="26" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="60" y="155.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">1</text>
|
|
<circle cx="190" cy="75" r="26" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="190" y="75.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">2</text>
|
|
</g></svg> |