[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Edges and nodes attributes in python
From: |
Justin McCann |
Subject: |
Re: [igraph] Edges and nodes attributes in python |
Date: |
Wed, 8 Feb 2012 19:37:49 -0500 |
for v in g.vs:
attr = v.attributes()
attr['newattr'] = 22
some_variable = attr['existingattr']
Works for edges, too.
On Wed, Feb 8, 2012 at 6:50 PM, kaledje blaise <address@hidden> wrote:
> Hi
>
> Is it possible to get and set nodes and edges attributes with the python
> interface?
>
> Thanks in advance
> --
> Blaise Ngonmang
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>