Re: Convert directed graph to undirected graph
- To: mathgroup at smc.vnet.net
- Subject: [mg111148] Re: Convert directed graph to undirected graph
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 22 Jul 2010 05:41:02 -0400 (EDT)
gr1 = GraphPlot[{ 1 -> 2, 2 -> 1, 3 -> 1, 3 -> 2, 4 -> 1, 4 -> 2, 4 -> 4}, DirectedEdges -> True] gr2 = gr1 /. Arrow -> Line Bob Hanlon ---- Jon Harrop <usenet at ffconsultancy.com> wrote: ============= What is the recommended way of doing this in Mathematica? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com