Add undirected version of the graph object