This sample shows how to create ControlNodes. ControlNode objects display custom HTML content, specified by its Template property. The DOM structure is created inside a Content div element, which is then rendered on top of the diagram canvas. You can specify interactive elements by setting their data-interactive attribute to true and register event handlers by adding attributes in the form: data-event-'eventName'='handlerName'. Image url-s within the template must be specified in base64 format.