Hi Chad,
We don’t have databinding support of the custom property which is added in the node.data. however we can reset the entire datasource and call refersh API, it will completely re-render the diagram. As we mentioned earlier, we suggest you, to directly update the node property and perform the databinding is the optimistic way to update the node and connector dynamically.
Code snippet:
|
var diagram = document.getElementById("diagram").ej2_instances[0];
var node = diagram.getObject(“node1”);
node.style.fill = "red";
diagram.dataBind();
|
Regards,
Gowtham