Files

152 lines
16 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="920" viewBox="0 0 1080 920" 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="1080" height="920" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<text x="95" y="105.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第一轮</text>
<rect x="110" y="70" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="138.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="138.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="176" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="204.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="204.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="242" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="270.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="270.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="308" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="336.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="336.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="374" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="402.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="402.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<path d="M138.5 149 V190 H204.5 V151" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="138.5" y1="190" x2="138.5" y2="151" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="171.5" y="208.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<rect x="620" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="648.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="648.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="686" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="714.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="714.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="752" y="70" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="780.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="780.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="818" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="846.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="846.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="884" y="70" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="91.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="912.5" y="123.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<path d="M780.5 149 V190 H846.5 V151" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="780.5" y1="190" x2="780.5" y2="151" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="813.5" y="208.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<rect x="110" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="138.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="138.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="176" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="204.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="204.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="242" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="270.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="270.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="308" y="245" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="336.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="336.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="374" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="402.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="402.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<path d="M336.5 324 V365 H402.5 V326" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="336.5" y1="365" x2="336.5" y2="326" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="369.5" y="383.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<rect x="620" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="648.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="648.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="686" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="714.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="714.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="752" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="780.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="780.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="818" y="245" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="846.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="846.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="884" y="245" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="266.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="912.5" y="298.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<text x="95" y="515.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第二轮</text>
<rect x="110" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="138.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="138.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="176" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="204.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="204.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="242" y="480" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="270.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="270.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="308" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="336.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="336.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="374" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="402.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="402.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<path d="M270.5 559 V600 H336.5 V561" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="270.5" y1="600" x2="270.5" y2="561" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="303.5" y="618.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<rect x="620" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="648.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="648.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="686" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="714.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="714.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="752" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="780.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="780.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="818" y="480" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="846.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="846.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="884" y="480" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="501.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="912.5" y="533.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<text x="95" y="765.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第三轮</text>
<rect x="110" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="138.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="138.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="176" y="730" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="204.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="204.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="242" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="270.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="270.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="308" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="336.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="336.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="374" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="402.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="402.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<path d="M204.5 809 V850 H270.5 V811" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="204.5" y1="850" x2="204.5" y2="811" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="237.5" y="868.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<rect x="620" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="648.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="648.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="686" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="714.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="714.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="752" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="780.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="780.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="818" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="846.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="846.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="884" y="730" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="912.5" y="751.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="912.5" y="783.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<text x="280" y="27.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">依次比较相邻两个元素</text>
<line x1="110" y1="47" x2="430" y2="47" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="280" y="437.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">依次比较相邻两个元素</text>
<line x1="110" y1="457" x2="430" y2="457" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="280" y="687.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">依次比较相邻两个元素</text>
<line x1="110" y1="707" x2="430" y2="707" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="725" y="890.0" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">第四轮:没有变化</text>
</g></svg>