Files

22 lines
2.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 270 230" width="270" height="230"><title>有向带权图</title><defs><marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10Z" fill="#416687"/></marker></defs><rect width="100%" height="100%" fill="white"/><g font-family="Microsoft YaHei,Arial,sans-serif" fill="#263c52" stroke-linecap="round">
<path d="M40.0 65.0L40.0 159.0" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<text x="27.0" y="99.5" text-anchor="middle" dominant-baseline="central" font-size="17">2</text>
<path d="M65.0 40.0L199.0 40.0" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<text x="132.5" y="27.0" text-anchor="middle" dominant-baseline="central" font-size="17">5</text>
<path d="M59.676397878782666 55.422041580667496L204.53654620606602 168.9610767561058" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<text x="95" y="65" text-anchor="middle" dominant-baseline="central" font-size="17">4</text>
<path d="M59.676397878782666 169.5779584193325L204.53654620606602 56.03892324389419" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<text x="175" y="63" text-anchor="middle" dominant-baseline="central" font-size="17">2</text>
<path d="M65.0 185.0L199.0 185.0" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<text x="132.5" y="172.0" text-anchor="middle" dominant-baseline="central" font-size="17">1</text>
<path d="M225.0 65.0L225.0 159.0" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<text x="212.0" y="99.5" text-anchor="middle" dominant-baseline="central" font-size="17">3</text>
<circle cx="40" cy="40" r="23" fill="#edf2f6" stroke="#416687" stroke-width="2"/>
<text x="40" y="40" text-anchor="middle" dominant-baseline="central" font-size="19">1</text>
<circle cx="40" cy="185" r="23" fill="#edf2f6" stroke="#416687" stroke-width="2"/>
<text x="40" y="185" text-anchor="middle" dominant-baseline="central" font-size="19">2</text>
<circle cx="225" cy="40" r="23" fill="#edf2f6" stroke="#416687" stroke-width="2"/>
<text x="225" y="40" text-anchor="middle" dominant-baseline="central" font-size="19">3</text>
<circle cx="225" cy="185" r="23" fill="#edf2f6" stroke="#416687" stroke-width="2"/>
<text x="225" y="185" text-anchor="middle" dominant-baseline="central" font-size="19">4</text>
</g></svg>