igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] adding attribute to an edge, depending on nodes


From: Marco
Subject: Re: [igraph] adding attribute to an edge, depending on nodes
Date: Fri, 7 Nov 2008 16:01:56 +0100

No, it does't work for me: not with 'color', nor with 'label'.

I am using igraph and python-igraph deb packages from your repository,
i update daily so i think it's safe to say i have the latest version.
When i use plot() i get a png file opened with gqview...

thanks,

marco

--

è il gioco della vita,
la dobbiamo preparare
che non ci sfugga dalle dita
come la sabbia in riva al mare.

Lucio Dalla



On Fri, Nov 7, 2008 at 3:57 PM, Tamas Nepusz <address@hidden> wrote:
> Hi Marco,
>
>> if the attr works as in the vertices, it should be painted red when i
>> plot the graph but... I don't see it red :(
> Actually it works for me:
>
>>>> g = Graph.Full(5)
>>>> g.es[g.ecount() - 1]["label"] = "red"
>>>> plot(g)
>
> and there you go, one single edge painted red. Does it work for you?
>
> --
> Tamas
>
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>




reply via email to

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