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: Tamas Nepusz
Subject: Re: [igraph] adding attribute to an edge, depending on nodes
Date: Fri, 07 Nov 2008 14:57:11 +0000

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






reply via email to

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