Closed swx-10 closed 1 year ago
Your question isn't entirely clear, but the answer to your question can be found in the documentation's introduction. That is the best resource for these sorts of simple questions.
Indeed, the sentence immediately below the one you quote mentions that the partition is derived from igraph's VertexClustering
class, so it inherits the membership
attribute. That contains the community labels for each vertex.
Thanks @ragibson!
If anyone is curious to understand how to use VertexClustering
, you can refer to the documentation of igraph. In particular, the Clustering
(from which VertexClustering
derives) describes the usage quite clearly: https://igraph.org/python/api/latest/igraph.clustering.Clustering.html.
After I do community discovery, how can I take out these vertices in each community?
Looking forward to your response!