projectstorm / react-diagrams

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

Getting positions after dragging multiple #784

Open bknill opened 3 years ago

bknill commented 3 years ago

Is there any events to listen for when dragged multiple nodes?

I try and loop through them, but only the node that was being dragged has an updated position, the rest no not.

Any way to find which nodes are selected?

renato-bohler commented 3 years ago

You can get all selected entities by calling model.getSelectedEntities()