Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I add a <defs> tag to the SVG? #17

Open
ILoveHubGit opened this issue Jul 16, 2023 · 1 comment
Open

Can I add a <defs> tag to the SVG? #17

ILoveHubGit opened this issue Jul 16, 2023 · 1 comment

Comments

@ILoveHubGit
Copy link

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?

@gadfly361
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants