[Olena-patches] 1713: Ovherhaul undirected graphs.