removeAll()
Description
Deletes all items from the diagram
Usage
removeAll(): void;
Example
const diagram = new dhx.Diagram("diagram_container", {
type: "default"
});
diagram.data.parse(data);
diagram.data.removeAll();
Related articles: Deleting items
Related sample: Diagram. Data. Add/delete item