canCollapseSubGraph method

bool canCollapseSubGraph([
  1. Group? group
])

This predicate controls whether the user can collapse expanded Groups.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. This method must not have any side-effects. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Group=} group if supplied, ignore the selection and consider collapsing this particular Group. @return {boolean} @see #collapseSubGraph

Implementation

_i2.bool canCollapseSubGraph([_i3.Group? group]) => _i4.callMethod(
      this,
      'canCollapseSubGraph',
      [group ?? _i5.undefined],
    );