microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.36k stars 307 forks source link

live select objects for dragging #311

Closed rafntor closed 2 years ago

rafntor commented 2 years ago

Thanks for a fine library!

This PR aims to give visual feedback during layout-editing when selecting nodes by dragging a rectangle. Nodes get selected/unselected in MouseMoveEvent as opposed to only in the end when MouseUpEvent fires. Works in demoapp so unless there is some scenario that I have not thought about it could hopefully be merged in.

levnach commented 2 years ago

Thank you @rafntor, it is a good change.