findTopLevelGroups method

Iterator<Group> findTopLevelGroups()

Returns an iterator of all Groups that are at top-level, in other words that are not themselves inside other Groups.

This is useful for when you want to traverse the diagram's graph by recursing into Groups. @return {Iterator.

Implementation

_i3.Iterator<_i3.Group> findTopLevelGroups() => _i4.callMethod(
      this,
      'findTopLevelGroups',
      [],
    );