Save and Restore
If you want to save and restore a flow you can use the
toObject function of the React Flow instance or your local nodes and edges state.
In this example you can move nodes around, add ones and save the diagram. Then reload the page and click restore to restore your diagram.