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.
Unfortunately, activation email could not send to your email. Please try again.

multiple parents using diagram web control

Thread ID:

Created:

Updated:

Platform:

Replies:

116118 Apr 4,2014 01:45 PM Apr 14,2014 02:05 AM ASP.NET Web Forms (Classic) 4
loading
Tags: DiagramWebControl
Muneeb Ahmed
Asked On April 4, 2014 01:45 PM

Hello Sir,
   I want to ask you that in diagram web control. The scenario the diagram deals with is only one parent or manger. Is multiple managers cas can also be achieved. For example an employee can have multiple manger at the same level. And same level employees are attached by single line.

Kindly reply as soon as possible


Amsath Ali M [Syncfusion]
Replied On April 9, 2014 12:54 PM

Hi Muneeb,

 

Thanks for your interest in Syncfusion products.

 

Yes, it is possible to achieve the layout with nodes having multiple parents. We suggest you to use the Diagram’s Hierarchic layout manager” to achieved your requirement. For this, we suggest you to refer the dashboard sample “Hierarchical Layout”. You can also find the sample in the below location:

..\..\AppData\Local\Syncfusion\EssentialStudio\{installedVersion}\Windows\Diagram.Web\Samples\2.0\Layout Alogorithim\Hierarchic layout

You can also run the samples through dashboard using the below steps:

Run the Dashboard->Asp. Net->Diagram->Layout Algorithm->Hierarchic Layout

 

Please let us know if you have any queries.

 

Regards,

Amsath


Muneeb Ahmed
Replied On April 10, 2014 04:03 AM

Hello Sir Thank you for your reply..  Basically i want to utilize these controls to make a family tree. The example you show it is good for the relationship which are 1 to many. For many to many relationship how can i do it.
E.g a person have a mother and father . In one level above him. And a Sibling in the same level as a person. So how can i do it.

Can you please create me some sample example


Amsath Ali M [Syncfusion]
Replied On April 13, 2014 11:53 PM

Hi Muneeb,

 

Thanks for your update.

 

Currently we are analysing your requirement, and we will update you with more details by the end of today (04/14/2014).

 

Please let us know if you have any queries.

 

Regards,

Amsath Ali. M


Amsath Ali M [Syncfusion]
Replied On April 14, 2014 02:05 AM

Hi Muneeb,

 

Thanks for your patience.

 

Since we don’t have support to layout the nodes automatically in a family tree, we suggest you to create a ‘CustomLayoutManager’ by driving the base class of any of our predefined layout managers, and apply your own logic to achieve your requirement. Please follow the steps provided in the below document to create your own custom layout manager.


Please refer the below attached sample and procedure to create custom layout manager.


Regards,

Amsath Ali. M


Attachment: Sample_and_Procedure_175af29a.zip

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.

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.

;