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. |