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

Arrows with direction -1 look weird when zooming in #4

Open
lndb opened this issue May 25, 2013 · 1 comment
Open

Arrows with direction -1 look weird when zooming in #4

lndb opened this issue May 25, 2013 · 1 comment

Comments

@lndb
Copy link

lndb commented May 25, 2013

The same live example that I gave before (wait a few seconds for the page to finish initializing):
http://lndb.info/light_novel/diagram/Hidan_no_Aria

This time I'm using JsPlumb 1.4.1 with the fix to the "out of place" arrows. Now these arrows are in the right place, but if you zoom on them you'll sometimes find the arrow drawn wrong.

Please zoom on the arrow that's pointing at the "Gouki Mutou" character. You can notice that the arrow even looks a little off even without zooming, but after zooming it will be even more noticeable.

@sporritt
Copy link
Member

i think in fact it might be the connector at fault, not the arrow - this is what the arrow looks like with the connector line deleted:

screen shot 2013-07-23 at 1 19 13 pm

this is the connector without the arrow - you can see that where the arrow is situated, the gradient of the connector changes suddenly. this is what causes the arrow to be painted the way it is.

screen shot 2013-07-23 at 1 22 14 pm

i can't change the gradient of the connector at that point, of course. it might be possible to average the gradient over a few points, but that would take a lot more computation.

@sporritt sporritt transferred this issue from jsplumb/jsplumb Oct 17, 2023
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