Add a node to the graph.
If the node already exists in the graph then this method is a no-op.
the node to add