|
From: | Santiago Videla |
Subject: | [igraph] Selecting edges by _source and _target in an undirected graph |
Date: | Wed, 6 May 2015 18:57:41 -0300 |
Using igraph-python, I found something which as far as I understand, it doesn't match the documentation:
In [1]: import igraph as ig
In [2]: g = ig.Graph(3, [(0,1), (2,0)], directed=False)
In [3]: len(g.es.select(_source=0))
Out[3]: 2
In [4]: len(g.es.select(_target=0))
Out[4]: 0
[Prev in Thread] | Current Thread | [Next in Thread] |