-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Rotating connection #109
Comments
Hello. The best I can do is give you a parameter to fConnectionForCreate which you could pass top, bottom, right or left! |
But is there any chance to the connection detect where it'll be connected? Like if I drag the connection near to an input connector on the right, the arrow turn to left and vice versa. Because similar behaviour already exists in the snap connection. |
Yes. OK. I'll think about it |
OK. I'll update the library tomorrow or Friday. Here is an example of work 2025-01-15.17.41.29.mov |
Great! Will it work with the reassign connection too? |
I also need this improvement. Thank you! |
@anderson-896 @MaiaLucas I updated the library. The functionality you need is available in version 17.0.7. I also have a favor to ask of you. Could you check if you have the same problems as described here? #108 |
@siarheihuzarevich I was able to reproduce here https://stackblitz.com/edit/stackblitz-starters-ykgm76ue?file=src%2Fmain.ts Expected behaviour: Current behaviour: |
@anderson-896 thank you |
Description
Behaviour:
When I've tried to connect a node from the left to right the connection with fType equals to segment the fMarker(end) is always facing down.
Expected:
I would have a usecase where the marker of a connection when the connectionType is segment should be possible to be rotated when it's near a node, similar to snap connection with the same type.
Use Case example
Example of the problem
Additional Context
No response
The text was updated successfully, but these errors were encountered: