Resizes the container making it big enough to contain its child nodes.
Namespace: MindFusion.Diagramming
Package: 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.
NetDiagram Programmer's Guide | © 2023 MindFusion |