How did you create the link?
I store the location of node and from and to data of links in database and i will retrive the data again from db.
Does the link data include the points of the route that it should take? Basically, is there a
new go.Binding("points") on the link template? That is one way to have the link be routed that way after initialization of the Diagram.model.
If not, then might there be a tiny or transparent node that the link is connected with whose location is there where the link ends?