Skip to content

ResizeConfig

Configuration for node resizing behavior.

allowResizeBelowChildrenBounds: boolean

Allows resizing a group node smaller than its children bounds. When set to false, a group node cannot be resized smaller than the bounding box of its children. By default a group can be resized below children size.

true

defaultResizable: boolean

The default resizable state for nodes.

true

getMinNodeSize: (node) => Size

Returns the minimum allowed size for a node.

Node

The node to compute the minimum size for.

Size

() => ({ width: 20, height: 20 })