score:8

Accepted answer

Set markerUnits="userSpaceOnUse"

<svg width="120" height="120" viewBox="0 0 120 120"
     xmlns="http://www.w3.org/2000/svg">
  <defs>
    <marker id="Triangle" viewBox="0 0 10 10" refX="1" refY="5" orient="auto"
            markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8">
      <path d="M 0 0 L 10 5 L 0 10 z" />
    </marker>
  </defs>
  <polyline points="10,90 50,80 90,20" fill="none" stroke="black" 
            stroke-width="3" marker-end="url(#Triangle)" />
  <polyline points="30,100 70,90 110,30" fill="none" stroke="black" 
            stroke-width="1" marker-end="url(#Triangle)" />
</svg>


Related Query