expandSubGraph method
This command expands all collapsed selected Groups. This operation is performed within an "Expand SubGraph" transaction. Just before the end of the transaction this raises the "SubGraphExpanded" DiagramEvent, with a collection of expanded Groups as the subject. This currently has no default keyboard shortcut.
This calls Group#expandSubGraph to perform the collapse, which will set Group#isSubGraphExpanded to true. You may want to save the collapsed/expanded state to the model by using a TwoWay Binding on the "isSubGraphExpanded" property of your Groups, and perhaps also on the Group#wasSubGraphExpanded property.
This method may be overridden, but you should consider calling this base method in order to get all of its functionality. 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 expand this particular Group. @see #canExpandSubGraph
Implementation
void expandSubGraph([_i3.Group? group]) {
_i4.callMethod(
this,
'expandSubGraph',
[group ?? _i5.undefined],
);
}