Interactive Editable Nodes
Svelvet
allows users to interactively edit nodes in their diagrams.
To access this feature, pass the nodeEdit
prop into your Svelvet
application
and right-click
on any node to bring up a modal that will have customizable options!
Nodes with custom classes cannot be edited via the modal because their class styling will take priority.
Implementing Editable Nodes
See the Code Sandbox below to see implementation!