There seems to be a problem with the diagram.isModified calculated property when I:
- add a node to a diagram
- save that model
- undo the adding of that node via diagram.model.undoManager.undo()
- adding another node to the diagram
- checking the diagram.isModified property
Following is the test source (with GoJS version 1.4.8; but problems also occur on older versions) that illustrates the problem:
Click on the buttons Add1, Save, Undo, Add2 (in that order).