Graph

constructor(graph: Graph<Vertex>)

Construct a new graph with the same vertices and edges as the argument.

Parameters

graph

The graph to copy.


constructor()

Parameters

Vertex

The vertex type with which to parameterize the Graph.