igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Global efficiency igraph Python


From: Tamas Nepusz
Subject: Re: [igraph] Global efficiency igraph Python
Date: Wed, 22 Feb 2017 15:07:08 +0100

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]