Files

23 lines
2.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="440" height="515" viewBox="0 0 440 515" 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="440" height="515" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<rect x="40" y="20" width="290" height="78" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="185.0" y="43.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">输出 “Today, I</text>
<text x="185.0" y="74.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">ate x apple”</text>
<line x1="185" y1="98" x2="185" y2="145" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<polygon points="185,145 330,220 185,295 40,220" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="185" y="203.9" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">x是0</text>
<text x="185" y="236.1" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">或1?</text>
<line x1="185" y1="295" x2="185" y2="342" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="220" y="317.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">成立</text>
<rect x="100" y="342" width="170" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="185.0" y="372.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">输出 “s”</text>
<line x1="185" y1="402" x2="185" y2="445" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<path d="M330 220 H403 V427 H190" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="370" y="195.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">不成立</text>
<rect x="100" y="445" width="170" height="55" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="185.0" y="472.5" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">输出 “.”</text>
</g></svg>