add
Adds node to this graph, in place. Does nothing if node already belongs to this graph.
Adds edge to this graph, in place (implicitly adding its endpoints, if missing), merging it with any other outgoing edge edge.source already has (unlike the immutable Graph.plus, which currently discards them).