retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

How to trigger the "nodeselect" event in v2? #678

Closed superstar54 closed 9 months ago

superstar54 commented 11 months ago

In v1, one can trigger the "nodeselect" event using

editor.on('nodeselect', (node: ReteNode) => {
      setSelectedNodeInfo(node);
    });

How to do this in v2?

Ni55aN commented 11 months ago

https://retejs.org/docs/guides/selectable#extend-selector

rete-js[bot] commented 10 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.