Class GraphTree
A Graph data structure representation of the SystemGraph
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class GraphTree
Fields
| Name | Description |
|---|---|
| bounds | The bounds |
| curLeftRank | The current left rank |
| curRightRank | The current right rank |
| gridLayout | The grid layout |
| kMaxLevel | The default constant maximum level |
| kMaxRank | The default constant maximum rank |
| levelBound | The level bound |
| maxLevel | The maximum level |
| maxRank | The maximum rank |
| minLevel | The minimum level |
| minRank | The minimum rank |
| root | The root TreeNode |
Methods
| Name | Description |
|---|---|
| AddNodeDescriptor(GraphDescriptor, NodeDescriptor, TreeNode, PortDirection, PortDirection) | Adds the node descriptor. |
| AddRootNodeDescriptor(GraphDescriptor, NodeDescriptor, GraphTree) | Adds the root node descriptor. |
| GetAllNodes() | Gets all nodes. |
| GetMaxLevelsInBetween(PortDirection, TreeNode, HashSet<TreeNode>, int, Visitor) | Gets the maximum levels going to the specified side from the specified caller tree node. |
| GetTreeNode(NodeDescriptor) | Gets the tree node for a given node descriptor. |
| InsertTreeNode(GraphDescriptor, TreeNode) | Inserts the tree node. |
| Traverse(PortDirection, TreeNode, HashSet<TreeNode>, TraverseDelegate, Visitor) | Traverses the specified side. |