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

feature/show-arrow-heads #145

Merged
merged 5 commits into from
Jun 28, 2020
Merged

Conversation

davidanitoiu
Copy link

@davidanitoiu davidanitoiu commented May 21, 2020

  • Added showArrowHead as a config option
  • Created an ArrowHead link variant
  • moved directional calculations to their own method and exported it to be used in the ArrowHead link variant
  • fix Implementation for Arrow heads on links #97

@aratabekov
Copy link

@MrBlenny hi David. Thanks for the awesome project, this has been really helpful in my app.
Me and my team really need arrow heads on links. Do you mind looking over this pull request and merge it if you think it's ok?

@ajuhos
Copy link

ajuhos commented Jun 24, 2020

You should include the linkColor in the id of the marker def, otherwise having multiple link colors defined via properties won't have an effect on the arrow head. (I am not an SVG expert, but I think defs are cached based on id.)

@MrBlenny MrBlenny merged commit bba4b3b into MrBlenny:master Jun 28, 2020
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

Successfully merging this pull request may close these issues.

Implementation for Arrow heads on links
4 participants