-
Notifications
You must be signed in to change notification settings - Fork 1.7k
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Removed arrows aren't removed when other arrows present #506
Comments
Closer inspection of the SVG generated reveals that calling path.attr("arrow-end","none") does not actually remove the marker: it changes the path length and reduces the reference count for the marker. If the reference count goes to zero no marker is defined, but path still calls a reference to it. |
I can patch this problem by replacing (in raphael.js 2.0.1) line 3665 from
to
Here I update the value for attribute "marker-end" (or "marker-start") to "none". I would interested to know whether there is a way to explicitly remove an attribute rather than change its value. |
You can add color to pathId, but when animation begin arrow may disappear |
khayredinov: you're talking about issue #471, right? It's actually unrelated to this issue. I recommend you re-post your comment in that issue instead. |
Sorry, wrong, too many tabs open |
Possibly related to #471.
This works as expected, with no arrow displayed:
However, when another arrow is used elsewhere the arrow remains displayed:
The text was updated successfully, but these errors were encountered: