You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @susielu! Thank you for creating d3-annotation, it's lovely.
I was curious about the arrowhead/circle options. It looks like the builder runs for every connector that has a marker.
Was wondering if you'd considered SVG's native marker element which knows how to attach itself to the end of a line, and so by default scales itself to the stroke-width and rotates itself to match the line.
Thus, the arrow marker paths would go into a <marker> element in <defs>, and get called using the marker-end attribute.
Sorry if you've already looked and discarded this.
The text was updated successfully, but these errors were encountered:
Hi @susielu! Thank you for creating d3-annotation, it's lovely.
I was curious about the arrowhead/circle options. It looks like the builder runs for every connector that has a marker.
Was wondering if you'd considered SVG's native
marker
element which knows how to attach itself to the end of a line, and so by default scales itself to the stroke-width and rotates itself to match the line.Thus, the arrow marker paths would go into a
<marker>
element in<defs>
, and get called using themarker-end
attribute.Sorry if you've already looked and discarded this.
The text was updated successfully, but these errors were encountered: