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?
Thanks, Tushar
-----------
Sample code
-----------
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;
Thanks for the workaround, I have tried this and it works in normal condition. However it does not solve the issue completly, if I move node around very quickly, I can still re-produce this issue with real time dragging too.