Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > sizeGroupToFit

Surface.sizeGroupToFit() method#

Run the group auto size routine on a given groups.

Signature:

sizeGroupToFit(group: Group, force?: boolean): void;

Parameters#

ParameterTypeDescription
groupGroupThe group to auto size
forcebooleanIf true, this flag will override an autoSize:false directive on the Group.

Returns:

void