MathGroup Archive 2003

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

Search the Archive

RE: Combinatorica / plot Graph Q

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41468] RE: [mg41455] Combinatorica / plot Graph Q
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 21 May 2003 08:02:12 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Mark,

First, the CombinatoricaPlots package at my web site no longer completely
works with the new Combinatorica package, as the internal format for
representing directed graphs has changed. I have not yet had a chance to
bring it up to date.

However, the regular plotting in Combinatorica has been greatly improved so
there is less a need for CombinatoricaPlots.

You can always extract the branch list and the vertices as the first two
parts of a graph. Therefore, in special cases, it should not be that
difficult to draw graphs in exactly the form you want. Just draw the arrows
or lines and vertices, perhaps using a Switch statement to pick out special
cases for special formatting.

I have one complaint about the Help for Combinatorica. It is just one long
notebook and it is very difficult to find a coherent discussion of specific
commands. Perhaps the subject is so large that one just has to buy the book,
but in the meantime it would be useful if the Help was at least structured
into groups of related commands.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Mark Van De Vyver [mailto:mvdv at spamcop.net]
To: mathgroup 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






  • Prev by Date: Re: Combinatorica / plot Graph Q
  • Next by Date: Problem with the legend in MultipleListPlot
  • Previous by thread: Re: Combinatorica / plot Graph Q
  • Next by thread: Re: RE: Combinatorica / plot Graph Q