Editor API

Diagram Editor API

Constructor

The constructor function takes as parameters either an HTML container or the document body and an object with configuration properties.

var editor = new dhx.DiagramEditor(document.body, {
    type: "default"
});

Org Chart Editor API

Constructor

The constructor function takes as parameters either an HTML container or the document body and an object with configuration properties.

var editor = new dhx.DiagramEditor(document.body, {
    type: "org"
});

Mind Map Editor API

Constructor

The constructor function takes as parameters either an HTML container or the document body and an object with configuration properties.

var editor = new dhx.DiagramEditor(document.body, {
    type: "mindmap"
});
Back to top