add_n_nodes function

Add one or several unconnected nodes to the graph