The TreePlus type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
TreePlus | Initializes the TreePlus Silverlight Control. |
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. |
Fields
Name | Description | |
---|---|---|
FocussedNode | The currently focussed Node. | |
FocussedUINode | The currently focussed Node's UI-Element. | |
FoundNodesExpandOrder | The Nodes that need to be expanded in order to get the searched-for node. | |
FoundUINode | The currently found Node's UI-Element. | |
HorizontalSpacing | Horizontal spacing between nodes in the canvas. | |
MovedNodes | List of relocated Nodes. | |
VerticalSpacing | Vertical spacing between nodes in the canvas. |
Properties
Name | Description | |
---|---|---|
CanvasElements | Collection of UIElements inside the Canvas. | |
CollapsingTime | Gets the time the Collapsing-Animation should take from the Slider-Control in the GUI. | |
ExpandingTime | Gets the time the Expanding-Animation should take from the Slider-Control in the GUI. | |
ExplodingTime | Gets the time the Exploding-Animation should take from the Slider-Control in the GUI. | |
IsCollapsing | Whether or not the current Animation-State is collapsing. | |
IsExpanding | Whether or not the current Animation-State is expanding. | |
IsExploding | Whether or not the current Animation-State is exploding. | |
IsMoving | Whether or not the current Animation-State is moving. | |
MovingTime | Gets the time the Moving-Animation should take from the Slider-Control in the GUI. | |
OriginalNodes | The nodes of the original graph. | |
TreePlusTree | The tree that is currently being displayed. |
See Also