Copy functionality #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create 'copy' functionality. Example how it should work:
-- selected nodes are considered 'copy nodes'
-- there happens some graphic indication, that 'copy nodes' are 'copied'
-- copy nodes ids and properties needs to be stored (preferably some zustand store), because they'll be retrieved later for 'paste' action
user navigates to different subgraph (with tree or breadcrumbs)
user right clicks on the empty graph space - context menu opens - in the context menu there is second new 'paste' action together with other previously implemented actions
user clicks on the 'paste' action - 'cut nodes', that were cut previously and are saved in a 'cut' store appear now in the currently displayed graph
after 'cut' and 'paste' workflow happen also other stores needs to be updated, so everything will be consistent
implement also tests for this feature