Home > @jsplumbtoolkit/browser-ui > SurfaceGridOptions
SurfaceGridOptions interface
Signature:
export interface SurfaceGridOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
fitGroupsToGrid? | boolean | (Optional) Whether or not to ensure calculated group sizes (from auto sized groups) are a multiple of the grid size in each axis. Defaults to false. | |
size? | Grid | (Optional) width/height of the grid | |
snap? | boolean | (Optional) Whether or not to snap elements to the grid when dragging. Defaults to false. |