react-diagrams icon indicating copy to clipboard operation
react-diagrams copied to clipboard

isDirty or hasChanged?

Open indefinitelee opened this issue 2 years ago • 0 comments

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?

indefinitelee avatar Nov 19 '21 21:11 indefinitelee