Hi,
I have a use case where I want to programmatically add some event handlers to all the nodes after the diagram is created. Apart from that, I also want to do things like, changing the node shape etc. as an update. Is it possible to basically update the nodeTemplate once the diagram is created.
diagram.nodeTemplate.click = () => console.log("Node clicked")
does not seem to work.
I want to do something similar.
Please help me out.
Thanks.