Construct a graph from a set of nodes (and edges). Modifies nodes while sorting but releases it after construction.
MissingNodeException if an edge has a node that is not present in this graph . EdgeExistsException if an edge already exists when trying inserting it.
See Implementation
Construct a graph from a set of nodes (and edges). Modifies nodes while sorting but releases it after construction.