I’m trying to keep all my node and link change handling in one location, in View.OnDocumentchanged. Works great for node creation/deleation and link creation/deleation, using:
GoView has both LinkCreated and LinkRelinked Events… perhaps you could use those.
That GoView event doesn’t pass the old port information along. But I don’t think you need to use that event anyway.
You’re just seeking why some document change occurred, right? So that you can discriminate between changes with the same Hint and SubHint?
At the time that you are looking at GoDocument.Changed events you can just look at the GoView.Tool. In your case you can check to see if it is an instance of GoToolRelinking.