MindFusion.Diagramming for JavaScript Programmer's Guide

DiagramNode.setExpanded Method

See Also
 





Expands or collapses the tree branch that starts at this node.

Namespace: MindFusion.Diagramming
File: DiagramNode.js

 Syntax

JavaScript  Copy Code

function setExpanded (value)

 Parameters

value

true if the branch starting at this node should be expanded; otherwise, false.

 Remarks

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.

 See Also