UndirectedGraph

UndirectedGraph[g]
gives an undirected graph from the directed graph g.

Details and OptionsDetails and Options

  • The undirected edge is an edge in the resulting undirected graph if either of the directed edges or is an edge of g.
  • UndirectedGraph works with directed graphs, multigraphs, and mixed graphs.
Introduced in 2010
(8.0)
| Updated in 2014
(10.0)