| 123456789101112 |
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 300" role="img" aria-labelledby="title desc">
- <title id="title">两个在 A 点拼接的欧拉小回路</title>
- <desc id="desc">左三角形 A B C 和右三角形 A D E 共用顶点 A,说明小回路可插入旧路线。</desc>
- <style>text{font-family:system-ui,sans-serif;fill:#172033}.edge{stroke:#4c6380;stroke-width:5;fill:none}.node{fill:#fff;stroke:#1d4ed8;stroke-width:4}.hot{fill:#fef3c7;stroke:#d97706;stroke-width:4}.note{font-size:20px}.label{font-size:27px;font-weight:700}</style>
- <text x="28" y="38" class="note">先绕左边,再回到 A;右边仍可以从 A 接进去。</text>
- <path class="edge" d="M170 150 L310 70 L310 230 Z"/><path class="edge" d="M170 150 L480 70 L610 190 Z"/>
- <circle class="hot" cx="170" cy="150" r="29"/><circle class="node" cx="310" cy="70" r="25"/><circle class="node" cx="310" cy="230" r="25"/><circle class="node" cx="480" cy="70" r="25"/><circle class="node" cx="610" cy="190" r="25"/>
- <text class="label" x="160" y="160">A</text><text class="label" x="300" y="80">B</text><text class="label" x="300" y="240">C</text><text class="label" x="470" y="80">D</text><text class="label" x="600" y="200">E</text>
- <path d="M104 253 C72 216 70 101 109 61" stroke="#d97706" stroke-width="4" fill="none" marker-end="url(#arrow)"/>
- <defs><marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10z" fill="#d97706"/></marker></defs>
- <text x="28" y="283" class="note">A 是可以“插回路”的路口。</text>
- </svg>
|