Search
ContainerNode.resizeToFitChildren Method
See Also
 





Resizes the container making it big enough to contain its child nodes.

Namespace: MindFusion.Diagramming
File: ContainerNode.js

 Syntax

JavaScript  Copy Code

function resizeToFitChildren (allowShrink, margin)

 Parameters

allowShrink

true to allow setting smaller size than current size of the container, or false otherwise.

margin

Specifies the margin space to leave between container's borders and child nodes.

 See Also