-
Notifications
You must be signed in to change notification settings - Fork 857
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
feat(routers.RightAngle): support user defined vertices #2224
feat(routers.RightAngle): support user defined vertices #2224
Conversation
An additional note: Edit: I forgot to mention - only in case of a Point. Connected to an element it seems to be ok. |
This usually happens when you define a path with two coincident points, e.g. |
But that's not the case. I am just moving the arrowhead around. As soon as I place it to point, the tangent calc breaks. It happens only with this version. This is what I mean: Screen.Recording.2023-07-12.at.12.29.13.movNotice how plus-sign tool gets placed at 0, 0 instead of at-the-source. That's because Actually, it gets placed at the source in one case (around 6 secs into the video) but it is in wrong position. It should be from the other side of the "arrowhead". E.g. this is the current |
What is the |
the path is: Complete outer html:
|
Right, the first segment of the path is not differentiable (has no tangent defined) |
When you are right, you are right! Thanks for looking into this! |
Hey @frnora, I really appreciate any help you can provide. |
Hi @MartinKanera, Thanks a bunch for the update! I began using it an hour ago and it looks much better now, so far I haven't found any problem. I will keep using it and in case of any issues, I will drop a line here. Btw, you bamboozled me real nice with hiding it behind an option, lol. Took me several minutes to figure out that I am really not using the old/current router (while having giant question mark above my head). I assume this was done to keep it consistent with the current version? Tbh, I cannot imagine who would not want to use vertices for this router... and if not, just don't use the tool. |
Thank you very much for your feedback. I will work on this as soon as possible! Martin |
Great update, @MartinKanera ! It is almost there. Almost. :)
I think we can live with both of these things but I thought I would let you know. If you feel like looking at one of them, pick the 1st, it is more obvious. ;) As always, if I find something else, I will report. Thank you for your hard work! |
… or target element
9975519
to
bd3e587
Compare
Description
Until now the
RightAngle
router didn't use the vertices that were provided. This change allows users to define vertices through which the link is supposed to go. TheRightAngle
router itself works the same way as it did, the only difference is that it takes in account the provided vertices and finds route between them.Motivation and Context
A simple upgrade of the algorithm that enables you to use the
RightAngle
router in more ways.Screenshots (if appropriate):