Search
ContainerNode Class
Remarks See Also
 





ContainerNode instances are diagram nodes that can contain other nodes.

Namespace: MindFusion.Diagramming
File: ContainerNode.js

 Syntax

JavaScript  Copy Code

// class
ContainerNode.prototype = {}

 Remarks

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.

 Inheritance Hierarchy

MindFusion.Diagramming.DiagramItem
    MindFusion.Diagramming.DiagramNode
        MindFusion.Diagramming.ContainerNode

 See Also