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

New to Diagram - need help

Thread ID:





91148 Nov 5,2009 08:53 PM UTC Nov 17,2009 02:06 PM UTC ASP.NET Web Forms (Classic) 1
Tags: DiagramWebControl
Robert Avery
Asked On November 5, 2009 08:53 PM UTC

I've been trying to play with the Diagram control to build programmatically something that appears like the attachment.

I have a database of parent-child relationships, and I am going to want to include text inside the boxes representing people with attributes like Age, etc. I also have a comment that needs to be displayed along-side the connector (the "Born m/d/yyyy" in the sample JPEG [it didn't accept JPEGs, so I had to zip it before I attached it]).

Is there an easy to way to give a dataset with these fields to the Diagram control and have it build something like this?

The one other issue is that i will want to display multiple families at the same time.

How do I do this? The samples in the samples folder don't seem to answer my question. Thanks in advance!


Dinesh M [Syncfusion]
Replied On November 17, 2009 02:06 PM UTC

Hi Robert,

Sorry for the inadvertent delay in getting back to you.

Currently we do not have support in Diagram control for populating nodes from the datatable provided and hence we need to create nodes manually from the values of datatable. You can use the DirectedTree LayoutManager(Category: Automatic Layout) to position your nodes automatically and it also does this layouting for the multiple families that you have created. For further information on creating a node and adding label to it please go through the online document in the link provided below.


To Create Nodes and links:



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

This page will automatically be redirected to the 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