这SVG代码显示在Firefox和Chrome的箭头,但在Internet Explorer 11已破坏:在Internet Explorer中打破SVG标记?
<svg viewBox="0 0 100 100">
<defs>
<marker id="arrow" markerWidth="5" markerHeight="6" refx="5" refy="2" orient="auto">
<path d="M0,0 L0,4 L5,2.5 L5,1.5 L0,0" style="fill:red;" ></path>
</marker>
</defs>
<path d="M0,0 L50,50"
style="stroke:red; stroke-width: 10px; fill: none;
marker-end: url(#arrow);"
></path>
</svg>
自己在看到它的 https://jsfiddle.net/ns3qfau5/6/
迂腐点评:作为引用您的标记没有ID,所以我很惊讶,它的工作原理。>。<。。。jsfiddle does –
Thanks @OwenBeresford - fixed now。I ended up using http://jsplumbtoolkit.com/ btw ... –