Table of Contents

Method Remove

Namespace
Bonsai.Dag
Assembly
Bonsai.Core.dll

Remove(Node<TNodeValue, TEdgeLabel>)

Removes the specified node from the directed graph.

public bool Remove(Node<TNodeValue, TEdgeLabel> node)

Parameters

node Node<TNodeValue, TEdgeLabel>

The node to remove from the directed graph.

Returns

bool

true if node is successfully removed; otherwise, false. This method also returns false if node was not found in the directed graph.