serialize()
Description
Serializes the data of the editor into an array of JSON objects
Usage
serialize(): array;
Returns
The method returns an array of JSON objects for each item from the editor data
Example
const editor = new dhx.DiagramEditor("editor_container");
editor.parse(data);
const data = editor.serialize();
Related sample: Diagram editor. Org chart mode. Live editor