taynaud / python-louvain

Louvain Community Detection
BSD 3-Clause "New" or "Revised" License
964 stars 200 forks source link

How can I get the first status of the communities? #11

Closed ricklovelisa closed 7 years ago

ricklovelisa commented 7 years ago

How can I get the first status of the communities? I can just get the final communities, but I want get every status of the communities, How can I get them? or I have to modify the method?

taynaud commented 7 years ago

Hello,

What do you mean by status of the communities ?

If you want all the communities hierarchy, you can use generate_dendrogram and partition_at_level

Best,

ricklovelisa commented 7 years ago

Yes, I mean the community level, such as level 0, level 1, …… As you said, it's communities hierarchy, Thank you very much!