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

Layout hierarchical data

Thread ID:





78790 Dec 31,2008 06:02 AM UTC Feb 22,2012 10:33 PM UTC WinForms 3
Tags: Diagram
Administrator [Syncfusion]
Asked On December 31, 2008 06:02 AM UTC

Hi, Syncfusion team

Happy New Year!!!

My question is the following: I need to display hierarchical data but the task is a bit complicated then in your demo with employees. Actually nodes have many-to many relations. Let consider the example:
Assume we have 10 nodes numbered from 1 to 10. Node 1, 2, 9 - the most top in hierarchy, which means that these nodes are not referenced by other nodes. Well nodes 3,4 are referred to the node 1 as well as 2. Moreover nodes 5,7,10 are referred to the node 2 to, so that node 2 has sub-nodes 3,4,5,7 and 10. Finally, nodes 6,8 are referred to the node 9 as well as nodes 4,7, so that node 9 has sub-nodes 6,8,4 and 7. Now we have a tree like the following:
1 2 9
|\ / / | \ \ / /\ \
3 4 3 4 5 7 10 6 8 4 7

Will it be possible to accomplish the requirements through the DirectedTreeLayout manager? Will the tree look like the mentioned above? If it is possible, is it enough to add nodes to the diagram and specify the connections between them, so that all layout work will be performed through the desired LayoutManager? The main point is that I have predefined estimate and I can not start the implementation of the feature while I'm not sure that this is possible and how much effort it requires as well how much it may cost for my customer. Would you be so kind to provide me with a sample or tutorial or whatever else to help me understand how to accomplish the feature (I have already investigated the demo with employees tree, but my requirements more complex and I need more advanced example)?

I need to achieve the requirements in ASP.NET diagram as well as in WinForms

Thanks a lot,

Ajeet M [Syncfusion]
Replied On December 31, 2008 10:35 AM UTC

Hi Elis,

The DirectedTree Layout can not be used for your requirement as the nodes do not have unique parent node.

To have layouting in a parent-child relationship, we need to use HierarchicLayout Manager.

My sample is located at the following location for your use:


Let me know if you shall need any further clarifications here.

Happy Coding!


Administrator [Syncfusion]
Replied On January 26, 2009 03:30 PM UTC

Thanks a lot!!!

Replied On February 22, 2012 10:33 PM UTC

The link for sample is not avaiable any more. Please allow me to download this sample. I'm very interested in buing your ASP.NET Diagram Control.


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