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

How to add custom properties to nodes and connectors?

Custom Properties

Custom properties feature allows you to add data additionally to the Node and LineConnector.

JavaScript:

 In JavaScript, you can add the custom properties directly into the node object.

JS

 

EJMVC

In MVC, custom properties can be added to the nodes and connectors by using the addInfo properties of nodes and connector. AddInfo is defined as a dictionary and custom properties are added as a key value pair. This dictionary object can be retrieved in the client side.

CONTROLLER

 

CSHTML

 

EJWEB

In EJWEB, you can add the custom properties to the nodes and connectors by using addInfo properties of nodes and connector. AddInfo is defined as a dictionary and custom properties are added as a key value pair. This dictionary object can be retrieved in the client side.

ASPX.CS

ASPX

 

Article ID: Published Date: Last Revised Date: Platform: Control:
3055 12/19/2014 05/19/2015 JavaScript ejDiagram
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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