I have two nodes and a link connected to them, as shown below. Here I have considered entire perimeter of the node geometry as the link attachment and not defined any node/port for connecting the link. At runtime I am setting the fromspot and tospot of the link. On save I have saved all the points of the link route and when diagram is loaded I am resetting them. This works in most of the scenarios and fails only in one particular scenario. When the link is vertically upwards as show in below image.
Link shape after loading the diagram. Even though the link route points are saved.
Any idea why it is failing only in this case? Do I need to handle it some other way?