We have recently upgraded GoDiagram from 4.0 to 4.2. While testing existing applications, I have observed potential issue with Node and Link; what is happening is when I drag Node to a position other than current, corresponding link is not getting dragged accordingly. It appears that this happens with only first node and once only.
I have created sample code to illustrate this, run this sample and try to drag GoBoxNode1, you can see that link between GoBasicNode and GoBoxNode1 does not move accordingly.
This works okay with version 4.0.
Can you please help with the resolution?
GoBasicNode basicNode = new GoBasicNode(GoFigure.Circle);
basicNode.Text = "GoBasicNode";
basicNode.Position = new PointF(50, 50);
GoBoxNode goBoxNode1 = new GoBoxNode();
goBoxNode1.Text = "GoBoxNode1";
goBoxNode1.Position = new PointF(50, 100);
goBoxNode1.LinkPointsSpread = true;
GoBoxNode goBoxNode2 = new GoBoxNode();
goBoxNode2.Text = "GoBoxNode2";
goBoxNode2.Position = new PointF(50, 150);
goBoxNode2.LinkPointsSpread = true;
GoBoxNode goBoxNode3 = new GoBoxNode();
goBoxNode3.Text = "GoBoxNode3";
goBoxNode3.Position = new PointF(150, 150);
goBoxNode3.LinkPointsSpread = true;
GoLink link1 = new GoLink();
link1.FromPort = basicNode.Port;
link1.ToPort = goBoxNode1.Port;
GoLink link2 = new GoLink();
link2.FromPort = goBoxNode1.Port;
link2.ToPort = goBoxNode2.Port;
GoLink link3 = new GoLink();
link3.FromPort = goBoxNode1.Port;
link3.ToPort = goBoxNode3.Port;