-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to connect the tail end of a connection to another element? #80
Comments
You can do this with a "redrop policy". The docs for these were a bit lacklustre (read: missing) so I've updated them: https://docs.jsplumbtoolkit.com/community/lib/connectivity#redrop-policies In this case you probably want |
Thank you for your answer but I have now another problem (sorry for bother you by the way). Also, do you know how to avoid having the starting point and the end point at the same position for a loop connection? |
hmm this looks like it could be a bug. |
..it seems to be the specific case that a connector becomes a self loop. that's the target endpoint still visible; it should have been hidden. |
and in answer to your question about separate start/end points for loop, that's not currently supported. |
I'm trying to make a state machine and I am looking at the example here from jsplumb website.
First I noticed that you cannot move a connection if you take it from the tail. Even worse, you destroy it.
Then I found out that you can move them if you drop it on the source element.
Is there any way to make a connection by dropping the tail of the connection on the target element?
Here is a simplified codesandbox of what I am doing
The text was updated successfully, but these errors were encountered: