AddLink

Hi,

i want to add a link to my model manually with:

myDiagram.Model.AddLink(myLink);

but Compiler did not found this method with one Parameter only addLink with four parameters, but i need the Routing data (Points) in myLink. But i found it in the Manual:
http://www.goxam.com/2.0/helpWPF/webframe.html#Northwoods.GoWPF~Northwoods.GoXam.Model.GraphLinksModel`4~AddLink(`3).html
What am i doing wrong?

Diagram.Model is of type IDiagramModel, not GraphLinksModel. You need to cast it.

Oh, this works fantastic, thanks a lot !