docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveNodeFromUndirectedGraph

    RemoveNodeFromUndirectedGraph(Graph<T>, T)

    Removes a node and its edges from an undirected graph.

    Declaration
    public static void RemoveNodeFromUndirectedGraph(Graph<T> undirectedGraph, T targetNode)
    Parameters
    Type Name Description
    Graph<T> undirectedGraph

    The graph to modify.

    T targetNode

    The node to remove.

    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)