Re: [R] igraph and plotting connected components

2007-10-09 Thread Gabor Csardi
On Mon, Oct 08, 2007 at 08:11:16PM -0500, [EMAIL PROTECTED] wrote: [...] Dot-file format is also *ridiculously simple* to generate , which I think of as a factor well in its favor. :-) This is just write.graph(g, format=dot, file=output.dot) in igraph. I hear that there's a tk-based

Re: [R] igraph and plotting connected components

2007-10-09 Thread Gabor Csardi
Dieter, there are a couple of ways to do this in igraph, eg. you can decompose the graph into separate components with g - erdos.renyi.game(100, 1/100) graphs - decompose.graph(g) and then you will have a list of graphs. If you assign some vertex ids as vertex attributes then you can keep

Re: [R] igraph and plotting connected components

2007-10-08 Thread Robert Gentleman
graph, RBGL and Rgraphviz, all available at www.bioconductor.org Dieter Best wrote: Hello there, I am using the igraph package to build graphs from my data. If I plot a graph though, it's not easy for me to see what's going on. Does anybody know how to rearrange a graph to get a plot

Re: [R] igraph and plotting connected components

2007-10-08 Thread Duncan Murdoch
On 08/10/2007 8:27 PM, Dieter Best wrote: Hello there, I am using the igraph package to build graphs from my data. If I plot a graph though, it's not easy for me to see what's going on. Does anybody know how to rearrange a graph to get a plot without too many crossing lines? Maybe

Re: [R] igraph and plotting connected components

2007-10-08 Thread elw
Hello there, I am using the igraph package to build graphs from my data. If I plot a graph though, it's not easy for me to see what's going on. Does anybody know how to rearrange a graph to get a plot without too many crossing lines? Maybe other packages? Edge-crossing minimization