rete
rete copied to clipboard
Menu handle on top right of node
I would love to use this framework to build my app but it's focused on mobile and I don't see anyway to add a menubar to each node where on the top right users would be able to clone or delete that specific node.
Similar to how BaklavaJS does it here - https://codesandbox.io/p/sandbox/baklavajs-v2-example-zpfkec
Demo only for BaklavaJS - https://zpfkec.csb.app/
it can be done using a custom node
https://retejs.org/examples/customization/react in CustomNode you can add a button with onClick, e.g. onClick={props.data.openContentMenu}
where props.data
is a Node instance with openContentMenu
handler you specify
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.