react-diagrams
react-diagrams copied to clipboard
isDirty or hasChanged?
is there any method or prop exposed that I can check to see if the diagram has changed in any way?
I can save the state of the diagram by calling model.serializeDiagram()
however I also want to alert a user if they have unsaved changes.
is there a recommended approach for this?