Return an undirected representation of the digraph.
A new graph is returned with the same name and nodes and with edge (u,v,data) if either (u,v,data) or (v,u,data) is in the digraph. If both edges exist in digraph they appear as a double edge in the new multigraph.