add_node function

Add a node to an existing graph object