Method AddRange
AddRange(IEnumerable<Node<TNodeValue, TEdgeLabel>>)
Adds the nodes in a collection to the end of the directed graph.
public void AddRange(IEnumerable<Node<TNodeValue, TEdgeLabel>> collection)
Parameters
collection
IEnumerable<Node<TNodeValue, TEdgeLabel>>The collection of nodes to insert into the directed graph.
Remarks
If any of the nodes in the collection are already in the directed graph, they will be moved into the new index position. Any successor nodes which are not in the graph will also be added in depth-first order.