ContainerNode instances are diagram nodes that can contain other nodes.
Namespace: MindFusion.Diagramming
Package: ContainerNode.js
JavaScript Copy Code |
---|
// class |
Child node can be added to or removed from containers interactively when the AllowAddChildren and AllowRemoveChildren properties are enabled. Use the add method to add a node to container programmatically. Use the remove method to remove a node from the container.
A container node can be folded and unfolded, either interactively or programmatically, as specified through the Foldable and Folded properties. When a container is folded, it occupies a minimal area and its child nodes are hidden.