The TreePlus type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
AlterEdge | This function alters an Edge by removing it from its current parent Node and adding it to its new parent. | |
AnimateExpansion |
Actually animate the expansion of all currently invisible nodes to the upper right side of the tree.
| |
BuildTree | ||
CollapseTree |
Recursively collapses the tree.
Given a list of nodes and a node index, each node is translated in such a way that the tree takes minimal vertical space.
This is achieved by checking if the space above a node is filled (in which case the node is already drawn in an appropriate position) or not (in which case the node needs to be translated "upwards") and taking respective action.
| |
ExpandNode |
Add new TreePlusUINodes TreePlusUINode for currently invisible elements that are attached to the node that is currently being expanded.
| |
GetElementAtLocation | Gets a single UIElement at a specified position inside the drawing Canvas. | |
GetElementForNode | Gets the corresponding UI-Element from inside the drawing Canvas for a specified Node. | |
GetElementsAtLocation(Node, Point) | Gets a list of UIElements at a specified position inside the drawing Canvas. | |
GetElementsAtLocation(Node, Double, Double) | Gets a list of UIElements at a specified position inside the drawing Canvas. | |
GetNodeForName |
Tries to get a Node from the original Graph-Nodes by its name.
| |
GetVisibleListForNode |
Gets a list of visible or invisible Nodes for a specified Node (usually the currently highlighted Node).
| |
InitializeComponent |
InitializeComponent
| |
IsNodePredecessor | Iteratively checks the entire tree if a supplied Node is the child of any of the other given Node's parents. | |
IsNodePrivileged | Checks whether one Node is privileged over another Node if they occlude each other. | |
PreExpandNode |
Alter tree edges for already visible nodes that are attached to a new parent node (i.e. "moved").
| |
StartNodeExpansion |
Starts the Node Expansion for a given Node.
| |
StartTreeCollapse |
Remove unused space to make for a tighter tree layout.
Essentially, this will find all nodes that are currently visible in the tree and translate them in such a way that the tree takes minimal vertical space.
This is called after the expansion step is complete.
| |
UpdateExpandNodesList | Updates the list that shows Nodes that need expansion in order to get to a searched-for Node or the Found-Nodes. | |
UpdateNodeVisibility | Updates the visibility of all TreePlusUINodes inside the drawing Canvas. |
See Also