Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Convert directed graph to undirected graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111189] Re: Convert directed graph to undirected graph
  • From: "Jon Harrop" <usenet at ffconsultancy.com>
  • Date: Fri, 23 Jul 2010 07:10:55 -0400 (EDT)
  • References: <i293nk$m3i$1@smc.vnet.net>

Wonderful, thanks!

"Bob Hanlon" <hanlonr at cox.net> wrote in message 
news:i293nk$m3i$1 at smc.vnet.net...
>
> 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
>
> 



  • Prev by Date: Re: surprising comparison of Mathematica 5.2 and 7.0
  • Next by Date: Saving files from the web
  • Previous by thread: Re: Convert directed graph to undirected graph
  • Next by thread: Re: Convert directed graph to undirected graph