[Top][All Lists]
[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 19:06:35 +0100 |
On Fri, Nov 7, 2008 at 7:01 PM, Tamas Nepusz <address@hidden> wrote:
> Actually, so do I ;) So I really don't know what's going wrong there.
> Can you please try printing g.es["color"] after assignment?
It prints, correctly, the color that has been assigned to the attribute 'color'.
eg:
g.es[g.ecount()-1]['color']='red'
print g.es[g.ecount()-1]['color']
then prints red
:)
Thanks,
m
- [igraph] adding attribute to an edge, depending on nodes, Marco, 2008/11/07
- Re: [igraph] adding attribute to an edge, depending on nodes, Tamas Nepusz, 2008/11/07
- Re: [igraph] adding attribute to an edge, depending on nodes, Marco, 2008/11/07
- Re: [igraph] adding attribute to an edge, depending on nodes, Tamas Nepusz, 2008/11/07
- Re: [igraph] adding attribute to an edge, depending on nodes, Marco, 2008/11/07
- Re: [igraph] adding attribute to an edge, depending on nodes, Tamas Nepusz, 2008/11/07
- Re: [igraph] adding attribute to an edge, depending on nodes,
Marco <=
- [igraph] subgraph from edge seq, Sergio Jiménez, 2008/11/10
- Re: [igraph] subgraph from edge seq, Tamas Nepusz, 2008/11/10
- RE: [igraph] subgraph from edge seq, Sergio Jiménez, 2008/11/10
Re: [igraph] adding attribute to an edge, depending on nodes, Neal Becker, 2008/11/07