This documents the development version of NetworkX. Documentation for the current release can be found here.
Generates community sets determined by label propagation
Finds communities in
Gusing a semi-synchronous label propagation method[R1ae1fcea5a29-1]_. This method combines the advantages of both the synchronous and asynchronous models. Not implemented for directed graphs.
An undirected NetworkX graph.
A dict_values object that contains a set of nodes for each community.
If the graph is directed
Cordasco, G., & Gargano, L. (2010, December). Community detection via semi-synchronous label propagation algorithms. In Business Applications of Social Network Analysis (BASNA), 2010 IEEE International Workshop on (pp. 1-8). IEEE.