Links Can't Find Ports


#1

This post was flagged by the community and is temporarily hidden.


#2

My guess is that the GraphLinksModel has forgotten how to find the port identifying information on each link data object. By that I mean the http://goxam.com/2.2/helpWPF/webframe.html#Northwoods.GoWPF~Northwoods.GoXam.Model.GraphLinksModel`4~LinkToParameterPath.html and LinkFromParameterPath properties of the GraphLinksModel that you have loaded.


#3

All properties seem to have been loaded correctly. If you see the problem in Figure 1, dragging it a bit will restore the line to look like Figure 2.


#4

Which one is Figure 1 and which one is Figure 2?

So when loading, do you reconstruct the GraphLinksModel in its entirety, and then you assign it to Diagram.Model? You don’t do anything else after that assignment?

And then the link routes are wrong. I had assumed that the figure on the right is incorrect, but you did not make that clear. Then manually moving a node such as the one labeled “Module” causes all of the connected links to route correctly, yes?

Do you try to save and restore any link routes?

Do you have a minimal sample that reproduces this behavior so that I can debug it?


#5

#6

A post was split to a new topic: How to add rulers to a diagram?