APIDiagram Editor APIEditor APIEditor methodsdestructor()On this pagedestructor() Description Removes a diagram editor instance and releases occupied resourcesUsagedestructor(): void;Exampleconst editor = new dhx.DiagramEditor("editor_container", { type: "default"});editor.parse(data);editor.destructor();Change log: Added in v6.0