Class Graph | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Graph

    Inheritance
    System.Object
    Graph
    PlayableGraphVisualizer
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: GraphVisualizer
    Syntax
    public abstract class Graph : IEnumerable<Node>, IEnumerable

    Properties

    nodes

    Declaration
    public ReadOnlyCollection<Node> nodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<Node>

    Methods

    AddNode(Node)

    Declaration
    public void AddNode(Node node)
    Parameters
    Type Name Description
    Node node

    AddNodeHierarchy(Node)

    Declaration
    public void AddNodeHierarchy(Node root)
    Parameters
    Type Name Description
    Node root

    Clear()

    Declaration
    public void Clear()

    GetChildren(Node)

    Declaration
    protected abstract IEnumerable<Node> GetChildren(Node node)
    Parameters
    Type Name Description
    Node node
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Node>

    GetEnumerator()

    Declaration
    public IEnumerator<Node> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<Node>
    Implements
    System.Collections.Generic.IEnumerable<T>.GetEnumerator()

    IsEmpty()

    Declaration
    public bool IsEmpty()
    Returns
    Type Description
    System.Boolean

    Populate()

    Declaration
    protected abstract void Populate()

    Refresh()

    Declaration
    public void Refresh()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023