[R] Search for a graph package - see link

Gábor Csárdi csardi at rmki.kfki.hu
Tue Apr 14 19:03:37 CEST 2009


On Tue, Apr 14, 2009 at 6:46 PM, Knut Krueger <rh at krueger-family.de> wrote:
[...]
> In that case all lines would be thick and the actions Node 1 -> 2  ,Node 3
> -> 1,Node 2 -> 3   would be invisible, so I tried the narrow arrows to get
> above the thick arrows in an other colour, but I found no rule to order them
> that the are always on the top ... and the team was not satisfied with this
> suggestion ;-)

Then make the arrows narrower. Or assign the arrow width
logarithmically to you edge weight. I.e. something like

E(g)$width <- log(E(g)$weight)+1

> The would prefer two parallel arrows one for each direction.

You can set 'curved' to a value close to zero and then the arrows will
be only a bit curved.

> Its a very
>  long mathematical formula to display those arrows, depending on the radius
> of the circles, and there is a ...hidden...error in the formula.

I am a bit lost. What formula are we talking about?

> So I tried to ask again if there is another solution.
>
> By the way: Do you know such arrow funtion: arrow(starting_point, angle,
> length) ?

I know igraph:::igraph.Arrows, there might be others as well,
G.

[...]

-- 
Gabor Csardi <Gabor.Csardi at unil.ch>     UNIL DGM




More information about the R-help mailing list