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

per link layout properties

Thread ID:





98443 Feb 28,2011 07:11 PM UTC Mar 10,2011 01:23 PM UTC WinForms 1
Tags: Diagram
Scott Lindsay
Asked On February 28, 2011 07:11 PM UTC

Are there any per-link properties that affect the behavior of the layout engines? For example, one might want to specify a property on certain links that tended to make those links shorter and thus keep the connected objects closer together.


Amsath Ali M [Syncfusion]
Replied On March 10, 2011 01:23 PM UTC

Hi Scott,

Thanks for using Syncfusion products.

The DiagramLayoutManger has the properties called 'HorizontalSapcing' and 'VerticalSpacing' for maintaining space between nodes. We suggest you to use these properties to achieve your requirement.

Please refer the below code snippet:

DirectedTreeLayoutManager lmanager = new DirectedTreeLayoutManager(diagram1.Model, 45, 30, 30);
//Horizontal and Vertical Spacing
lmanager.VerticalSpacing = 10;
lmanager.HorizontalSpacing = 10;

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