graphscope.nx.classes.function.to_undirected

graphscope.nx.classes.function.to_undirected(graph)[source]

Returns an undirected view of the graph graph.

Identical to graph.to_undirected(as_view=True) Note that graph.to_undirected defaults to as_view=False while this function always provides a view.