docs.unity.cn
    Show / Hide Table of Contents

    Class GraphTree.TreeNode

    Description of a node in the tree data structure representing the graph Level describes the preferred horizontal coordinate of the node in variable node unit Rank describes the preferred vertical coordinate of the node in variable node unit

    Inheritance
    Object
    GraphTree.TreeNode
    Namespace: Mechatronics.SystemGraph
    Syntax
    public class TreeNode

    Fields

    level

    The level; Left is negative, 0 center, Right is positive

    Declaration
    public int level
    Field Value
    Type Description
    Int32

    nextSide

    The next side for neighbors: All, Left, Right

    Declaration
    public HashSet<GraphTree.TreeNode>[] nextSide
    Field Value
    Type Description
    HashSet<GraphTree.TreeNode>[]

    node

    The node descriptor for this TreeNode

    Declaration
    public NodeDescriptor node
    Field Value
    Type Description
    NodeDescriptor

    prevSide

    The previous side for neighbors: All, Left, Right

    Declaration
    public HashSet<GraphTree.TreeNode>[] prevSide
    Field Value
    Type Description
    HashSet<GraphTree.TreeNode>[]

    rank

    The rank; Vertical position rank

    Declaration
    public int rank
    Field Value
    Type Description
    Int32

    sameSideConnected

    Array that describes which sides are connected to this node: Undefined, Left, Right

    Declaration
    public bool[] sameSideConnected
    Field Value
    Type Description
    Boolean[]
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use