Can I add a <defs> tag to the SVG?
ILoveHubGit opened this issue · comments
ILoveHubGit commented
I would like to be able to add arrows heads to lines. The way this is normally done in SVG is by defining a in the tag and then use an attribute marker-start or marker-end with the line to add this arrow head.
Is this possible with this library?
Matthew Jaoudi commented
@ILoveHubGit I no longer write clojurescript or use D3, so my memory is fuzzy at this point. Take this with a grain of salt, but I do anticipate you should be able to achieve that with rid3 though. Using an :elem piece, you should be able to set the tag and the attributes that you want.