CrypticWit f87b042162
feat(nodes): Center pasted nodes at mouse location (#4595)
* Initial commit.  Feature works, but code might need some cleanup

* Cleaned up diff

* Made mousePosition a XYPosition again so its nicely typed

* Fixed yarn issues

* Paste now properly takes node width/height into account when pasting

* feat(ui): use react's types in the `onMouseMove` `reactflow` handler

* feat(ui): use refs to access `reactflow`'s DOM elements

* feat(ui): use a ref to store cursor position in nodes

---------

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2023-09-21 11:16:15 +10:00
..
2023-08-18 15:52:04 +10:00
2023-09-20 15:09:24 +10:00
2023-09-12 13:01:58 -04:00
2023-09-12 13:01:58 -04:00
2023-07-28 09:46:44 -04:00
2023-09-12 13:01:58 -04:00