We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

orthogonal lines and routing

Thread ID:





98445 Feb 28,2011 07:50 PM UTC Mar 9,2011 01:22 PM UTC WinForms 1
Tags: Diagram
Scott Lindsay
Asked On February 28, 2011 07:50 PM UTC

Is it possible to control the routing of orthogonal line segments so that they do not overlap? I'm currently using orthogonal connectors to connect the central points of shapes. Using the symmetric layout manager, the lines tend to overlap but I'd prefer it if lines were distributed evenly around the originating and terminating shapes.

Amsath Ali M [Syncfusion]
Replied On March 9, 2011 01:22 PM UTC

Hi Scott,
Thanks for using Syncfusion products.
Yes, it is possible to control the routing of orthogonal connector. The routing of a connector is controlled by diagram control model properties “LineRoutingEnabled”,”LineBridgingEnabled” and “LineRouter” .By default the LineRouting Enabled and LineBridgingEnabled Properties are ‘false’ we suggest you to set those property to ‘true’ to enable the line routing and also set the LineRouter property to ‘Automatic’ in order to make line routing automatically.
Please refer the below code snippet:

this.diagram1.Model.LineRoutingEnabled = true;
this.diagram1.Model.LineBridgingEnabled = true;
this.diagram1.Model.LineRouter.RoutingMode = RoutingMode.Automatic;

We have an online UG documentation for Line Routing. Please refer the below link for more information.
Please let me know your concerns.
Amsath Ali M


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon