Simulate link creation

I know GoWPF doesn’t support UI Automation, but is there may another way I could go about simulating the creation of a link between two nodes?

I started to answer this, but then I realized I didn’t know why you want to simulate drawing a new link.

Your mention of Automation makes me suspect some kind of testing is intended, but I don’t know what kind of testing. Do you need to create real mouse events? Do you just need to use the LinkingTool? Or do you just need to create a link programmatically somehow?

To answer the last case: just modify the model to create the link that you want. No knowledge of Diagram/DiagramPanel/PartManager/LinkingTool/Node/Link is necessary.