|
From: | Serafeim Loukas |
Subject: | Re: [igraph] Global efficiency igraph Python |
Date: | Wed, 22 Feb 2017 15:19:19 +0100 |
............................................. Loukas Serafeim Master Student, University of Genevaemail: address@hidden |
Do I do something wrong?Yes; the argument of subgraph() is the IDs of the nodes to be included in the subgraph. Neighbors are not included. You need g.subgraph(g.neighborhood(5)) instead.T.
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |