Hi Rakhi,
We have created a sample to change the connector text at run time. When you want to change any properties in the diagram use diagram dataBind() public property. When you call dataBind() property in diagram , property change function triggers and change the respective property in the diagram. Please find the below code snippet for how to use the dataBind() property.
|
public Change() {
this.diagram.connectors[0].annotations[0].content = "Changed Connector";
this.diagram.dataBind();
} |
We have attached a sample for your reference. Please find the sample in below link
Regards
Aravind Ravi