Hi Kenneth,
Thanks for using Syncfusion product.
We are glad to inform you that we have created simple sample to achieve your requirement. We suggest you to use Diagram.Model “LineRoutingEnabled” property to set true and set Diagram.Model.LineRouter’s “RoutingMode” property to set as Automatic to the connector which automatically route’s the connector around the nodes when any obstacles occurred. Please refer the below attached sample, code snippet and video for your references.
Here is the code snippet:
[C#]
//set true to enable the model's line routing
diagram1.Model.LineRoutingEnabled = true;
//set Automatically routing the line
diagram1.Model.LineRouter.RoutingMode = RoutingMode.Automatic;
OrgLineConnector line = new OrgLineConnector(new PointF(0, 0), new PointF(300, 300));
//set true to enabling the line routing
line.LineRoutingEnabled = true;
Here is the sample:
Sample
Here is the video:
Video
Please let us know if any concerns.
Regards,
Naganathan K G