Re: Combinatorica / plot Graph Q
- To: mathgroup at smc.vnet.net
- Subject: [mg41470] Re: Combinatorica / plot Graph Q
- From: "Steve Luttrell" <luttrell at _removemefirst_westmal.demon.co.uk>
- Date: Wed, 21 May 2003 08:02:42 -0400 (EDT)
- References: <bacm7e$r87$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You can do these things with DiscreteMath`Combinatorica`. The example given in the Help Browser is: <<DiscreteMath`Combinatorica` ShowGraph[ SetGraphOptions[ CompleteGraph[ 4], {{1, 2, VertexColor -> Green, VertexStyle -> Disk[Large]}, {3, 4, VertexColor -> Blue}}, EdgeColor -> Red]]; -- Steve Luttrell West Malvern, UK "Mark Van De Vyver" <mvdv at spamcop.net> wrote in message news:bacm7e$r87$1 at smc.vnet.net... > Hi, > I'd appreciate any suggestions or pointers for the following task. > > I'm looking for a package that plots graphs with the following 'features': > - The format of each graph node can specified > - The format of the edge connecting particular nodes can be sepecified > > As far as I can tell the DiscreteMath`Combinatorica` package can't do this, > and the very nice package << DiscreteMath`CombinatoricaPlots` from David > Park also can't. > Looking at the CombinatoricaPlots package I see it allows you to specify a > label for each graph node, and I'd like to be able to set the the > 'VertexDirectives', 'EdgeDirectives', etc of each node in the graph - > actually I'm plotting a tree. > > Any suggestions apprciated > > TIA > Mark > > mailto:mvdv at spamcop.net > http://www.bigfoot.com/~mvdv > > > >