Classify changes made by user

I’m wondering if there is an easy way to classify the changes a user makes to a diagramm.

i.e.I want to check if the user only changes the position or size of a node or if he changes the sequence, the links, add/remove nodes etc.

The first would be an ‘uncritical change’, the latter a critical change’
.
I have tested the DocumentChanged event, but this one triggers a lot of events, even if the mouse hovers over a node (and the ports are displayed).
There is there a more simple approach to check the type of changes?
Maybe comparing the generated XML (I store the diagram using binding transformers).

Thanks in advance,
Fridi

The trick is to look for events that are “critical”, by whatever definition you choose to make. The XML is going to change if you move a node.

Look for events like GoLayer.RemovedObject and GoLayer.InsertedObject.

Hi Jake,

excellent, yes that trick really helped me to look for my critical changes.

  • Friedhelm.

[QUOTE=Jake]The trick is to look for events that are “critical”, by whatever definition you choose to make. The XML is going to change if you move a node.

Look for events like GoLayer.RemovedObject and GoLayer.InsertedObject.[/quote]