Community Detection, Louvain, Leiden, Getting Started.
get trapped into densely connected parts corresponding to communities. Walktrap uses the result of random walks to merge separate communities in a bottom-up manner. Quality of the partitions can be evaluated using any available quality criterion. It can be either modularity as in Louvain community