enso/app
Adam Obuchowicz 579d83a450
Magnet algorithm when dragging nodes. (#8224)
Fixes #8070

When dragging a node, it is snapped to any axis being an extension to another node's boundary. This helps user keeping their nodes neatly aligned.

https://github.com/enso-org/enso/assets/3919101/36dd4d5f-55d3-4f3c-ba49-e8425fae8270

# Important Notes
* Now the position is saved to Yjs doc only when drag is finished.
* Node structure in graph store has two position fields: one representing what is currently stored in the node's metadata, and where the node is displayed. `nodeRects` use the visible rectangles.
2023-11-07 15:51:30 +00:00
..
gui Fixes for Table viz (#8102) 2023-10-19 08:22:23 +00:00
gui2 Magnet algorithm when dragging nodes. (#8224) 2023-11-07 15:51:30 +00:00
ide-desktop Rename tsx files without JSX to ts files (#8085) 2023-11-03 00:39:08 +00:00