projectstorm / react-diagrams

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

How I can handle double click event for a node? #901

Closed Stevenbdl closed 2 years ago

Stevenbdl commented 2 years ago

For example when I do double click in node I want to do "something"

dylanvorster commented 2 years ago

extend the node and add a custom event to your model and fire the event on your own widget. Have a look at the custom nodes demos and documentation