docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphTree

    A Graph data structure representation of the SystemGraph

    Inheritance
    object
    GraphTree
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)