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.
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.ContainerNode