Click or drag to resize

graphTools Class

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Inheritance Hierarchy
SystemObject
  imbSCI.Data.collection.graphgraphTools

Namespace:  imbSCI.Data.collection.graph
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static class graphTools
Request Example View Source

The graphTools type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBuildGraphFromPathsT
Builds the graph from paths. Created graph has artificial root node (outside first node of the paths)
Public methodStatic memberConvertPathToGraphT
Builds graph defined by path or selecte existing graphnode, as pointed by path
Public methodStatic memberGetAllRootsT
Gets all roots.
Public methodStatic memberGetChildAtPathT
Gets a child at given relative path
Public methodStatic memberGetDescendentFrontierAtOffsetT
Returns descendent nodes at specified depthOffset. For branches that end before the offset depth, the leaf node is part of output
Public methodStatic memberGetFirstNodeWithLeafsT
Iterative procedure, returning graphNodeSetCollection with graphNodeSets rooted at node that has leafs (all or min) with leafNames
Public methodStatic memberGetNodeSetWithLeafsT
Collects all leaf nodes from the parent node, and pack it into graphNodeSet.
Public methodStatic memberGetParentsT
Gets first level parents of the source collection
Public methodStatic memberMakeUniqueChildName
Makes the unique name for a child, based on proposal and counter, formatted by limit digit width: e.g. if limit is 100, format is: D3, producing: proposal+001, +002, +003...
Public methodStatic memberMergeWith
Graph node graphToMerge transfers all child nodes to graphToMergeWith and disconnects from its parent
Public methodStatic memberMoveTo
Moves to new parent node moveInto
Public methodStatic memberRetreatToParent
If the graph target has parent, it will move to its level (one level closer to the root)
Top
See Also