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

35 lines
3.3 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="610" height="400" viewBox="0 0 610 400" 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="610" height="400" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<rect x="220" y="10" width="80" height="70" rx="0" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="535" y="45.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第一层</text>
<rect x="140" y="105" width="300" height="70" rx="0" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="535" y="140.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第二层</text>
<rect x="60" y="200" width="240" height="70" rx="0" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="535" y="235.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第三层</text>
<rect x="15" y="295" width="170" height="70" rx="0" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="535" y="330.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第四层</text>
<line x1="260" y1="45" x2="180" y2="140" stroke="#417b63" stroke-width="2"/>
<line x1="260" y1="45" x2="400" y2="140" stroke="#417b63" stroke-width="2"/>
<line x1="180" y1="140" x2="100" y2="235" stroke="#417b63" stroke-width="2"/>
<line x1="180" y1="140" x2="260" y2="235" stroke="#417b63" stroke-width="2"/>
<line x1="100" y1="235" x2="55" y2="330" stroke="#417b63" stroke-width="2"/>
<line x1="100" y1="235" x2="145" y2="330" stroke="#417b63" stroke-width="2"/>
<circle cx="260" cy="45" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="260" y="45.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">1</text>
<circle cx="180" cy="140" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="180" y="140.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">2</text>
<circle cx="400" cy="140" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="400" y="140.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">7</text>
<circle cx="100" cy="235" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="100" y="235.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">3</text>
<circle cx="260" cy="235" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="260" y="235.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">6</text>
<circle cx="55" cy="330" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="55" y="330.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">4</text>
<circle cx="145" cy="330" r="25" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="145" y="330.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">5</text>
</g></svg>