• Home
  • Search
  • CGNLib: A Python library for Girvan–Newman community detection with customizable node-based centrality metrics
  • Cite Icon2
  • https://doi.org/10.1016/j.softx.2025.102193Copy DOI Icon

CGNLib: A Python library for Girvan–Newman community detection with customizable node-based centrality metrics

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

CGNLib is a Python library designed to enhance the performance of community detection in networks using the Girvan–Newman algorithm. Traditional implementations of this algorithm typically rely solely on edge betweenness centrality, limiting the potential for optimization. CGNLib overcomes this by transforming edges into nodes within an in-memory auxiliary graph, enabling the use of any node-centric centrality metric on edges, which is not typically possible. This approach allows researchers to explore a wider range of centrality measures, potentially improving community detection outcomes. Additionally, CGNLib supports community visualization and evaluation through metrics like modularity, conductance and coverage. The included CGNExp wrapper simplifies testing various centrality metrics with minimal code, making CGNLib an invaluable tool for researchers in fields such as social network analysis, biology, and other networked systems.

Similar Papers
  • Research Article
  • Citations17

Toward Network‐Based Planetary Biosignatures: Atmospheric Chemistry as Unipartite, Unweighted, Undirected Networks

  • Jun 01, 2023
  • Journal of Geophysical Research: Planets
  • M L Wong +4
  • Conference Article
  • Citations2

A Fast Algorithm for Ranking Users by their Influence in Online Social Platforms

  • Nov 10, 2022
  • Nouamane Arhachoui +3
  • Research Article
  • Citations18

Complex network-based analysis of inter-basin water transfer networks

  • Nov 03, 2023
  • Ecological Indicators
  • Lichuan Wang +6
  • Research Article

Time-series trend analysis of meditation intervention research: Focusing on keyword networks

  • Dec 31, 2025
  • Journal of Meditation based Psychological Counseling
  • Jeong Gwiyeon
  • Research Article
  • Citations1

The recipe similarity network: a new algorithm to extract relevant information from cookbooks

  • Oct 02, 2025
  • Scientific Reports
  • Michele Bellingeri +5
  • Research Article
  • Citations16

Extracting Social Network and Character Categorization From Bengali Literature

  • Jun 01, 2018
  • IEEE Transactions on Computational Social Systems
  • Samya Muhuri +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.