Construct a graph from a set of nodes (and edges).
Inserts edge into the graph thrwoing an exception if already present.
Inserts node into the node list throwing an exception if already present.
Inserts node into the node list if not yet present.
Returns a list of all edges in this graph.
Returns a list of the nodes in this graph.
Construct an edge for this graph.