NetDiagram Programmer's Guide
DiagramNode.setExpandable Method
See Also

Sets a value indicating whether users are allowed to expand or collapse the tree branch that starts at this node.

Namespace: MindFusion.Diagramming
Package: DiagramNode.js


JavaScript  Copy Code

function setExpandable (value)



true to display expand/collapse button beside the node, otherwise false.


This property is useful mostly when nodes form a tree-like hierarchical structure.

 See Also

DiagramNode Members
DiagramNode Class
MindFusion.Diagramming Namespace
setExpanded Method
treeCollapsed Event
treeExpanded Event
setExpandButtonAction Method