serialize

serializes the diagram data into an array of JSON objects

array serialize();

Returns

arrayan array of JSON objects for each shape and link from Diagram

Example

var data = diagram.data.serialize();

See also
Back to top