MakeUndirected

MakeUndirected[g]
gives the underlying undirected graph of the given directed graph g.

更多信息更多信息

New to Mathematica? Find your learning path »
Have a question? Ask support »