How to run louvain community discovery algorithm in igraph?

Can someone please provide me with a simple example of how to run the louvain community discovery algorithm in igraph using the python interface. Is there any documentation?

Thank!

+4
source share
1 answer

He is called multilevel.community.

According to https://bugs.launchpad.net/igraph/+bug/925038 ... this functionality exists, it is simply calledigraph_community_multilevel

If you look in the github repository for igraph

https://github.com/igraph/igraph/blob/master/src/community.c

igraph_community_multilevel , C. 100% , , , .

! ! R? (igraph_community_multilevel) , ( " louvain" )? "louvain" !

+6

All Articles