Hook for providing additional link information

When the user draws a new link between two nodes, I want to be able to add additional Information for the link by opening an Input Dialog in which the user enters the relevant data.

Where would be a good place to put the code for this?

I’m currently thinking about fireing an Event from the method insertLink in my graphlink model. The form can then listen for this Event and open the Input Dialog. Is this a good place or is there some better way to do this?

Thanks in advance,

That’s what the Diagram.LinkDrawn event is for. http://www.goxam.com/2.2/helpWPF/webframe.html#Northwoods.GoWPF~Northwoods.GoXam.Diagram~LinkDrawn_EV.html

Thank you very much!