igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] error plotting A graph with attributes example


From: Gabor Csardi
Subject: Re: [igraph] error plotting A graph with attributes example
Date: Mon, 5 Mar 2007 12:33:32 +0100
User-agent: Mutt/1.5.12-2006-07-14

Jarrett,

thanks for reporting this. Actually this bug has been corrected about
two month ago, and the latest 0.3.3 version works well. 

If you go to
http://cneurocvs.rmki.kfki.hu/cgi-bin/archzoom.cgi/address@hidden/igraph--main--0.3
you can see that patch-116 corrects this bug.

Gabor

On Sat, Mar 03, 2007 at 03:43:39PM -0800, Jarrett Byrnes wrote:
>    After a good deal of fiddling, it appears the problem is having a vertex
>    attribute called "name".� Instead, if you change it to names (and use
>    V(g)$names thereafter) and then in the tkplot statement, use
>    tkplot(g, layout=layout.kamada.kawai, edge.color=E(g)$color,
>    labels=names(ids))
>    for short names or
>    tkplot(g, layout=layout.kamada.kawai, edge.color=E(g)$color,
>    labels=V(g)$names)
>    for long names, you're all good.
>    This should be changed in the tutorial.
[...]

-- 
Csardi Gabor <address@hidden>    MTA RMKI, ELTE TTK




reply via email to

[Prev in Thread] Current Thread [Next in Thread]