Interface: WorkspacePerformLayoutParams
Options for WorkspaceContext.performLayout method.
See
WorkspaceContext.performLayout
Properties
Property | Type | Description |
---|---|---|
|
| Whether moving elements to final layout positions should be animated. Default
|
| Target canvas to get element sizes from and perform layout algorithm on. If not specified, uses the result from SharedCanvasState.findAnyCanvas. It is recommended to provide this value if possible for consistent multi-canvas support. | |
| Layout function to use when computing element positions. Default is defined by WorkspaceProps.defaultLayout. | |
|
| Restrict the layout application to the subset of graph elements. |
|
| Signal to cancel computing and applying the layout. |
|
| Whether to fit elements into viewport after layout. Default
|