DirectedGraph<T>.from constructor

DirectedGraph<T>.from(
  1. DirectedGraph<T> directedGraph
)

Constructs a directed graph from another directed graph.

Implementation

DirectedGraph.from(DirectedGraph<T> directedGraph)
    : this(directedGraph._edges, comparator: directedGraph.comparator);