Is there any functionality to track the changes

Hi,
I need to track the changes if any in org chart. Actually I want to show a warning message if user navigate to other page after any changes in org chart(like add node, hide node etc). Is there any events or property which can track the changes in org chart?


Thanks,

Diagram.isModified.
Also the “Modified” DiagramEvent may be of interest to you.
The Org Chart Editor sample uses both.