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
Parameter | Type | Description |
---|---|---|
group | Group | The group to auto size |
force | boolean | If true, this flag will override an autoSize:false directive on the Group. |
Returns:
void