Hi Jim
Thanks for using Syncfusion products.
We are glad to let you know that we have created a simple sample to achieve your requirement and it is available in the below link for download. Please refer the code snippet:
Code snippet:<ej:diagram id="Diagram1" runat="server" height="1000px" width="1000px">
</ej:diagram>
//creating connectors
Connector connect = new Connector();
connect.Name = "samsa";
//adding labels
Label label = new Label();
label.Text = "ram";
Diagram1.Model.Connectors.Add(connect);
<input type="button" value="updatelabel" onclick="updatelabel()" />
<script type="text/javascript">
function updatelabel() {
var diagram = $("#Diagram1").ejDiagram("instance");
var connector = diagram.model.selectedItems.children[0];
if (connector)
diagram.updateLabel(connector.name,connector.labels[0], {fillColor:"blue"});
}
</script>
Sample:http://www.syncfusion.com/downloads/support/forum/118991/updatelabel839675744.zip
Please let me know if any concerns.
Regards,
Shyam G