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. Image for the cookie policy date
close icon

How to change the node text in Flow Chart diagram

Hi,
As per my requirement, i have to change the flow chart diagram node's text(Please refer the attached screenshot).
Eg.: Now the node text is Process, how can change this Process text? Please let me know.

Thanks in advance.



How to change node text_98f2eb59.rar

2 Replies

RA Raja February 17, 2011 07:23 AM UTC

Hi,

I should change the node's text programmatically, not directly from .edp files.

Eg.: One flow chart will have more than one decision nodes each node's text will be different. How do i create nodes dynamically based on my data? How to set the each node's(all nodes will have diffent text) text?


Thanks in advance.



BM Bala Murugan A.S Syncfusion Team February 17, 2011 12:23 PM UTC

Hi Raja,

Thanks for the update.

The TextNode has the property called Text by using this property you can change the node text. Please refer the below code snippet to achieve this.
[C#]
TextNode txtNode = new TextNode("Process");
txtNode.Text = "Process1";


Kindly try the above and let me know if this helps.

Regards,
Bala Murugan A.S


Loader.
Live Chat Icon For mobile
Up arrow icon