Hi Edward,
Thanks for your patience.
For your requirement, we suggest you to use different port for the node to prevent from link overlapping.Please refer the code snippet below to achieve this,
[C#]
//Rectangle Node 1
rect1 = new Syncfusion.Windows.Forms.Diagram.Rectangle(100, 400, 100, 40);
//Rectangle Node 2
rect2 = new Syncfusion.Windows.Forms.Diagram.Rectangle(300, 100, 100, 40);
//Rectangle Node 3
rect3 = new Syncfusion.Windows.Forms.Diagram.Rectangle(200, 200, 100, 40);
Syncfusion.Windows.Forms.Diagram.OrthogonalConnector connector = new OrthogonalConnector( new System.Drawing.PointF(50, 50), new System.Drawing.PointF(50, 50));
Syncfusion.Windows.Forms.Diagram.OrthogonalConnector connector1 = new OrthogonalConnector(new System.Drawing.PointF(50, 50), new System.Drawing.PointF(50, 50));
rect1.EnableCentralPort = false;
//creating Custom port for the node
Syncfusion.Windows.Forms.Diagram.ConnectionPoint cp = new Syncfusion.Windows.Forms.Diagram.ConnectionPoint();
Syncfusion.Windows.Forms.Diagram.ConnectionPoint cp1 = new Syncfusion.Windows.Forms.Diagram.ConnectionPoint();
rect1.Ports.Add(cp);
rect1.Ports.Add(cp1);
rect1.Ports[0].OffsetX = 10;
rect1.Ports[1].OffsetX = 50;
rect1.Ports[0].TryConnect(connector.TailEndPoint);
rect2.CentralPort.TryConnect(connector.HeadEndPoint);
rect1.Ports[1].TryConnect(connector1.TailEndPoint);
rect3.CentralPort.TryConnect(connector1.HeadEndPoint);
We have created a simple sample to demonstrate this and the same can be downloaded from the below link,
LineOverlapping-1232221215.zipPlease try the above sample and let me know if this is your actual requirements.
Regards,
Bala Murugan A.S