Sets a value indicating whether the container should grow in size when nodes are added to it.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void setAutoGrow ( |
true to grow container's size automatically, or false otherwise.
When AutoGrow is enabled, the container size will grow to include newly added nodes when they wouldn't fit in its current size. The new Bounds of the container is set to the union of bounding rectangles of all child nodes inflated by Margin.