Collapses the tree branch that starts from this table.
C# Copy Code |
---|
public virtual void Collapse () |
Visual Basic Copy Code |
---|
Public Overridable Sub Collapse () |
When using FlowChartX to represent hierarchical structure as a tree you might want to hide a branch of the tree. Invoking the Collapse method on a table will make the table children (arrows and other nodes) invisible. It depends on the ExpandOnIncoming property, which objects connected to the table are considered its children. This method is meant for use only with tree-like structures and it is your responsibility to ensure that your diagram is really a tree. A graph is a tree if every node has no more than one parent and there's one root node that can be reached from all nodes going in child-parent direction. The tree can be expanded again using Expand.
FlowChartX Programmer's Guide | © 2023 MindFusion |