Expands or collapses the tree branch that starts at this node.
Namespace: MindFusion.Diagramming
Package: DiagramNode.js
JavaScript Copy Code |
---|
function setExpanded (value) |
true if the branch starting at this node should be expanded; otherwise, false.
By default, the control considers nodes that can be reached by following outgoing links to be the child nodes in a tree, and respectively outgoing links determine the direction in which tree branches collapse or expand. This direction can be reversed by setting the ExpandOnIncoming property to true.