getRoots

returns an array with ids of all root items of the diagram

array getRoots();

Returns

arrayan array with ids of the root items

Example

diagram.data.getRoots();

See also
Change log

Added in v4.0

Back to top