In igraph I found two different methods for converting graph to undirected graph:
The first is to_undirected
which simply 'Converts a directed graph to undirected.' and the second is as_undirected
which invokes to_undirected
on the copy.
In NetworkX I found only single method to_undirected
which simply create undirected deep copy of the graph. The problem is that I really can't found method similar to the first one in igraph. Is there any solution to transform graph without creating copy using NetworkX?