I have create a Link between two objects using the code:
Northwoods.Go.GoLink link = new Northwoods.Go.GoLink();
link.Orthogonal = true;
link.AvoidsNodes = true;
link.FromPort = fromPort;
link.ToPort = toPort;
fromPort.FromSpot = Northwoods.Go.GoObject.MiddleRight;
toPort.ToSpot = Northwoods.Go.GoObject.MiddleLeft;
link.ToArrow = true;
link.Orthogonal = true;
link.AvoidsNodes = true;
link.FromPort = fromPort;
link.ToPort = toPort;
fromPort.FromSpot = Northwoods.Go.GoObject.MiddleRight;
toPort.ToSpot = Northwoods.Go.GoObject.MiddleLeft;
link.ToArrow = true;
But on the screen no arrow is shown. And the link line does not start on middle of the object
If use from MiddleBottom to MiddleTop the arrow is shown.
Am I missing something?