Skip to main content

load

Description

Fires when data is loaded into the diagram

Usage

load: () => void;

Example

// initializing Diagram
const diagram = new dhx.Diagram("diagram_container", {
type: "default"
});
// loading data
diagram.data.parse(data);

// attaching a handler to the event
diagram.events.on("load", function(){
// some logic here
});