How properly persist the layout of Besier “Self” Link? I save links
throuth custom serialization storing theLink.RealLink.CopyPointsArray()
after i restore link on the diagram i do
theLink.RealLink.SetPoints(theLinePoints);
It looks ok but if i move node (that link is linked to) link
recalculates so the original form of the link is distorted.
LinkAdjustinStyle is Stretch.
It seems like i need to do something with ports after SetPoints because
ports give wrong from and to points for the link.
Any advise?
Thanks