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: Serafeim Loukas
Subject: Re: [igraph] Global efficiency igraph Python
Date: Wed, 22 Feb 2017 15:19:19 +0100

Thank you again! That was really helpful.

Best,
S

.............................................
Loukas Serafeim  
Master StudentUniversity of Geneva

2017-02-22 15:07 GMT+01:00 Tamas Nepusz <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



reply via email to

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