hatvis.community.louvain#
- hatvis.community.louvain(H, target='nodes', weighting='count', resolution=1.0, s=1, random_state=None)[source]#
Louvain communities of a projection (networkx implementation).
target="nodes": communities of the vertices in the clique expansion;target="edges": communities of the hyperedges in the weighted \(s\)-line graph (equivalently, vertex communities of the dual hypergraph). Nagy et al. (2022) used both views to find activity-based and element-based modules of a manufacturing space.