[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] accessing edges from the nodes
From: |
Renato Fabbri |
Subject: |
[igraph] accessing edges from the nodes |
Date: |
Thu, 21 Oct 2010 20:37:39 -0200 |
i am a little ashamed to ask this, but i have wasted some real time on
this and i
cant find it out:
if I want to access an edge beetween vertex 1 and 2, how do I do that?
I am doing this:
l=g.get_edgelist()
i=l.index((k,j))
g.es[i]["weight"]
ii=l.index(kk,jj)
g.es[ii]["weight"]
etc
is there a better way to do it?
--
GNU/Linux User #479299
skype: fabbri.renato
- [igraph] accessing edges from the nodes,
Renato Fabbri <=