TreePlus MembersTreePlusSilverlight - An implementation of the TreePlus algorithm using Silverlight

The TreePlus type exposes the following members.
Constructors

  NameDescription
Public methodTreePlus
Initializes the TreePlus Silverlight Control.
Back to Top
Methods

  NameDescription
Public methodStatic memberAlterEdge
This function alters an Edge by removing it from its current parent Node and adding it to its new parent.
Public methodAnimateExpansion
Actually animate the expansion of all currently invisible nodes to the upper right side of the tree.
Public methodBuildTree
Simply defines a new Tree provided a root Node.
Public methodCollapseTree
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.
Public methodExpandNode
Add new TreePlusUINodes TreePlusUINode for currently invisible elements that are attached to the node that is currently being expanded.
Public methodStatic memberGetElementAtLocation
Gets a single UIElement at a specified position inside the drawing Canvas.
Public methodStatic memberGetElementForNode
Gets the corresponding UI-Element from inside the drawing Canvas for a specified Node.
Public methodStatic memberGetElementsAtLocation(Node, Point)
Gets a list of UIElements at a specified position inside the drawing Canvas.
Public methodStatic memberGetElementsAtLocation(Node, Double, Double)
Gets a list of UIElements at a specified position inside the drawing Canvas.
Public methodStatic memberGetNodeForName
Tries to get a Node from the original Graph-Nodes by its name.
Public methodStatic memberGetVisibleListForNode
Gets a list of visible or invisible Nodes for a specified Node (usually the currently highlighted Node).
Public methodInitializeComponent
InitializeComponent
Public methodStatic memberIsNodePredecessor
Iteratively checks the entire tree if a supplied Node is the child of any of the other given Node's parents.
Public methodStatic memberIsNodePrivileged
Checks whether one Node is privileged over another Node if they occlude each other.
Public methodPreExpandNode
Alter tree edges for already visible nodes that are attached to a new parent node (i.e. "moved").
Public methodStartNodeExpansion
Starts the Node Expansion for a given Node.
Public methodStartTreeCollapse
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.
Public methodUpdateExpandNodesList
Updates the list that shows Nodes that need expansion in order to get to a searched-for Node or the Found-Nodes.
Public methodStatic memberUpdateNodeVisibility
Updates the visibility of all TreePlusUINodes inside the drawing Canvas.
Back to Top
Fields

  NameDescription
Public fieldFocussedNode
The currently focussed Node.
Public fieldFocussedUINode
The currently focussed Node's UI-Element.
Public fieldFoundNodesExpandOrder
The Nodes that need to be expanded in order to get the searched-for node.
Public fieldFoundUINode
The currently found Node's UI-Element.
Public fieldStatic memberHorizontalSpacing
Horizontal spacing between nodes in the canvas.
Public fieldStatic memberMovedNodes
List of relocated Nodes.
Public fieldStatic memberVerticalSpacing
Vertical spacing between nodes in the canvas.
Back to Top
Properties

  NameDescription
Public propertyStatic memberCanvasElements
Collection of UIElements inside the Canvas.
Public propertyCollapsingTime
Gets the time the Collapsing-Animation should take from the Slider-Control in the GUI.
Public propertyExpandingTime
Gets the time the Expanding-Animation should take from the Slider-Control in the GUI.
Public propertyExplodingTime
Gets the time the Exploding-Animation should take from the Slider-Control in the GUI.
Public propertyIsCollapsing
Whether or not the current Animation-State is collapsing.
Public propertyIsExpanding
Whether or not the current Animation-State is expanding.
Public propertyIsExploding
Whether or not the current Animation-State is exploding.
Public propertyIsMoving
Whether or not the current Animation-State is moving.
Public propertyMovingTime
Gets the time the Moving-Animation should take from the Slider-Control in the GUI.
Public propertyStatic memberOriginalNodes
The nodes of the original graph.
Public propertyStatic memberTreePlusTree
The tree that is currently being displayed.
Back to Top
See Also