Finding when a link has been created and has been connected to a source and target #1758
Unanswered
alexandernst
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The question is if the For now, please listen to the paper |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have noticed that if I create a couple of elements and embed them inside another element and then I try to create a link between them, the link doesn't get
.reparent()-ed
automatically. (Notice: I'm talking about creating all these elements dragging and dropping the elements on the actual canvas; not programmatically)I have a couple of questions:
I know I can listen to the graph's
add
event, but this will fire the event too soon (it will fire before the link has been connected to a target element). I tried to listen tolink:pointerup
and find, somehow, if it's a newly created link, but I couldn't figure out a way.Beta Was this translation helpful? Give feedback.
All reactions