projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.45k stars 1.16k forks source link

Click on a link, open a modal with input and write down a label for the link #992

Open belkocik opened 1 year ago

belkocik commented 1 year ago

Is it possible to create a label to a existing link when I click on that link and then for example modal will pop up and I could write a label for this clicked link? I need to fireAnEvent when I click a link and then do something. How can I accomplish that?

belkocik commented 1 year ago

Could do that in other way, e.g. when I link two nodes successfully?

neetr commented 1 year ago

Hi, Even i am having the same issue. What event is fired to check if the nodes are linked? linkUpdated event?

Thanks,

abhishek-doe commented 4 months ago

did you find the solution for this? and i also getting the 'cannot get totallength' error when creating the label