ResizeConfig
Configuration for node resizing behavior.
Properties
Section titled “Properties”allowResizeBelowChildrenBounds
Section titled “allowResizeBelowChildrenBounds”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.
Default
Section titled “Default”truedefaultResizable
Section titled “defaultResizable”defaultResizable:
boolean
The default resizable state for nodes.
Default
Section titled “Default”truegetMinNodeSize()
Section titled “getMinNodeSize()”getMinNodeSize: (
node) =>Size
Returns the minimum allowed size for a node.
Parameters
Section titled “Parameters”The node to compute the minimum size for.
Returns
Section titled “Returns”Default
Section titled “Default”() => ({ width: 20, height: 20 })