Re: [R] igraph and tkgraph

2008-11-16 Thread Gábor Csárdi
On Sun, Nov 16, 2008 at 7:14 PM, Tom Backer Johnsen <[EMAIL PROTECTED]> wrote: > Gábor Csárdi wrote: >> >> On Sun, Nov 16, 2008 at 3:01 PM, Gábor Csárdi <[EMAIL PROTECTED]> >> wrote: >>> >>> Tom, >>> >>> On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen <[EMAIL PROTECTED]> >>> wrote: >> >> [...]

Re: [R] igraph and tkgraph

2008-11-16 Thread Tom Backer Johnsen
Gábor Csárdi wrote: On Sun, Nov 16, 2008 at 3:01 PM, Gábor Csárdi <[EMAIL PROTECTED]> wrote: Tom, On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen <[EMAIL PROTECTED]> wrote: [...] suspicion that if the relations between two vertices is non-symmetric, only one of the is shown. Is it possib

Re: [R] igraph and tkgraph

2008-11-16 Thread Tom Backer Johnsen
Gábor Csárdi wrote: On Sun, Nov 16, 2008 at 3:01 PM, Gábor Csárdi <[EMAIL PROTECTED]> wrote: Tom, On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen <[EMAIL PROTECTED]> wrote: [...] suspicion that if the relations between two vertices is non-symmetric, only one of the is shown. Is it possib

Re: [R] igraph and tkgraph

2008-11-16 Thread Tom Backer Johnsen
Gábor Csárdi wrote: Tom, On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen <[EMAIL PROTECTED]> wrote: Gabor: Actually, I meant a script GUI management of ugraph I managed to locate on the net. Oh, ok, it will be part of igraph from the next version. But its capabilities are very limited. W

Re: [R] igraph and tkgraph

2008-11-16 Thread Gábor Csárdi
On Sun, Nov 16, 2008 at 3:01 PM, Gábor Csárdi <[EMAIL PROTECTED]> wrote: > Tom, > > On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen <[EMAIL PROTECTED]> wrote: [...] >> suspicion that if the relations between two vertices is non-symmetric, only >> one of the is shown. Is it possible to have a p

Re: [R] igraph and tkgraph

2008-11-16 Thread Gábor Csárdi
Tom, On Fri, Nov 14, 2008 at 4:35 PM, Tom Backer Johnsen <[EMAIL PROTECTED]> wrote: > Gabor: > > Actually, I meant a script GUI management of ugraph I managed to locate on > the net. Oh, ok, it will be part of igraph from the next version. But its capabilities are very limited. We are considering

Re: [R] igraph and tkgraph

2008-11-14 Thread Tom Backer Johnsen
Gabor: Actually, I meant a script GUI management of ugraph I managed to locate on the net. Disregarding that, thank you for the suggestions. igraph is definitly a non-trivial affair, with a lot of options and corresponding flexibility. I made some changes to what you wrote: A <- matrix(sa

Re: [R] igraph and tkgraph

2008-11-14 Thread Gábor Csárdi
Tom, you mean 'tkplot' in the igraph package? Look at ?igraph.plotting on how to set up plotting parameters, e.g. if you want different line types for the positive/negative relations, then you can make use of the 'lty' parameter: A <- matrix(sample(c(-1,0,1), 100, replace=TRUE), 10) g <- graph.adj

[R] igraph and tkgraph

2008-11-14 Thread Tom Backer Johnsen
I have a number of (directed) graphs based on social groups, where the members have expresed likes and dislikes in respect to the other members. tkgraph makes it simple to draw the graphs in a very pleasing way, but I would like to differentiate between positive and negative relations in the g