Resizes the container making it big enough to contain its child nodes.
Namespace: MindFusion.Diagramming
File: ContainerNode.js
JavaScript Copy Code |
---|
function resizeToFitChildren (allowShrink, margin) |
true to allow setting smaller size than current size of the container, or false otherwise.
Specifies the margin space to leave between container's borders and child nodes.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |