In the override of DiagramModel.OnChange I get ModelChangedEventArgs,AddedNode on copy and on paste with the same e.Data.
How can I determine if the OnChange is coming from Copy or from Paste?
Are you sure that it’s being called on the same model? A Copy command will copy nodes into the model used in the clipboard; a Paste command will copy nodes into the diagram’s model.
I didn’t see the property Model in the ModelChangedEventsArgs - sorry.