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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

orthogonal lines and routing

Thread ID:

Created:

Updated:

Platform:

Replies:

98445 Feb 28,2011 07:50 PM UTC Mar 9,2011 01:22 PM UTC WinForms 1
loading
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:
[C#]

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.
http://help.syncfusion.com/ug_91/User%20Interface/Windows%20Forms/Diagram/Documents/422linerouting.htm
http://help.syncfusion.com/ug_91/User%20Interface/Windows%20Forms/Diagram/Documents/421linebridging.htm
Please let me know your concerns.
Regards,
Amsath Ali M



CONFIRMATION

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.

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

;