docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DependencyGraph

    Graph of asset dependencies used by AutoGroupGenerator.

    Inheritance
    object
    Graph<AssetNode>
    DependencyGraph
    Inherited Members
    Graph<AssetNode>._adjacencyList
    Graph<AssetNode>.NodeCount
    Graph<AssetNode>.AddEdge(AssetNode, AssetNode)
    Graph<AssetNode>.AddNode(AssetNode)
    Graph<AssetNode>.GetNeighbors(AssetNode)
    Graph<AssetNode>.GetAllNodes()
    Graph<AssetNode>.GetTransposedGraph()
    Graph<AssetNode>.ToSerializableData()
    Graph<AssetNode>.FromSerializableData(Graph<AssetNode>.SerializableData)
    Graph<AssetNode>.FindLeafNodes(AssetNode)
    Graph<AssetNode>.FindPathConeToLeaves(AssetNode)
    Graph<AssetNode>.FindPathAndLeaves(AssetNode, out HashSet<AssetNode>, out HashSet<AssetNode>)
    Graph<AssetNode>.FindAllPathsToLeafNodes(AssetNode)
    Graph<AssetNode>.DepthFirstSearch(AssetNode, Action<AssetNode>)
    Graph<AssetNode>.DepthFirstSearchIterative(AssetNode, HashSet<AssetNode>, Action<AssetNode>)
    Graph<AssetNode>.DepthFirstSearchForAllPaths(AssetNode, AssetNode)
    Graph<AssetNode>.DepthFirstSearchForAllPaths(AssetNode, Predicate<AssetNode>)
    Graph<AssetNode>.BreadthFirstSearch(AssetNode, Action<AssetNode>)
    Graph<AssetNode>.ConvertNodeType<TResult>(Func<AssetNode, TResult>)
    Graph<AssetNode>.GetSubgraph(List<AssetNode>)
    Graph<AssetNode>.ToUndirected(Graph<AssetNode>)
    Graph<AssetNode>.RemoveNodeFromUndirectedGraph(Graph<AssetNode>, AssetNode)
    Graph<AssetNode>.GetConnectedComponentsOfUndirectedGraph(Graph<AssetNode>)
    Graph<AssetNode>.CollapseToSCCs()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: AutoGroupGenerator
    Assembly: Unity.AutoGroupGenerator.Editor.dll
    Syntax
    public class DependencyGraph : Graph<AssetNode>

    Constructors

    Name Description
    DependencyGraph()

    Initializes an empty dependency graph.

    DependencyGraph(Graph<AssetNode>)

    Initializes the graph from an existing Graph<T>.

    Methods

    Name Description
    AddEdge(string, string)

    Adds a dependency edge between two asset paths.

    AddNode(string)

    Adds a node for the asset path.

    CountOutgoingEdges(AssetNode)

    Counts outgoing edges from the specified node.

    Deserialize(SerializedData)

    Rehydrates a DependencyGraph from serialized data.

    Serialize()

    Serializes the graph into a persistable payload.

    In This Article
    Back to top
    Copyright © 2026 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)