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

Extra information in the node

Thread ID:

Created:

Updated:

Platform:

Replies:

118331 Feb 26,2015 12:00 AM UTC Feb 26,2015 11:27 AM UTC ASP.NET Web Forms 1
loading
Tags: Diagram
René Valencia
Asked On February 26, 2015 12:00 AM UTC

Hello,

I am creating a process designer based on the example of diagrambuilder. I need to add other properties to the node object, how could associate more information to each node ?, such a description, a business unit, a leader.

Thank You

Shyam G [Syncfusion]
Replied On February 26, 2015 11:27 AM UTC

Hi Rene

Thanks for using Syncfusion products.

We suggest you to use node  “AddInfo”  property  to achieve your requirement. Please refer the code snippet and sample below.

Code snippet:

Node node = new Node();

Dictionary<string, object> addinfo = new Dictionary<string, object>();

 addinfo.Add("description", "diagram");

addinfo.Add("businessunit", "sam");

addinfo.Add("leader","king");

node.AddInfo = addinfo;

Diagram1.Nodes.Add(node);

Sample:http://www.syncfusion.com/downloads/support/directtrac/118331/WebApplication22004851548.zip

Please refer the below knowledge base link which represents how to add custom properties to nodes and connectors.

Knowledgebase:http://www.syncfusion.com/kb/3051/how-to-add-custom-properties-to-nodes-and-connectors

Please let me know if any concerns.

Regards,

Shyam G



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

;