getItemNode

returns HTML element of the item

HTMLElement getItemNode(id id);
ididdata item ID
HTMLElementHTML element of the item

Example

const node = diagram.getItemNode(2);
node.innerHTML = "Second block";

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.