libleidenalg
Leiden is a general algorithm for methods of community detection in large networks.
Leiden is a general algorithm for methods of community detection in large networks.
To install this package, run one of the following:
This package implements the Leiden algorithm in C++. It relies on igraph for it to function. Besides the relative flexibility of the implementation, it also scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The core class is the Optimiser class which is able to optimize a variety of quality functions using the Leiden algorithm.
Summary
Leiden is a general algorithm for methods of community detection in large networks.
Last Updated
Oct 30, 2025 at 12:59
License
GPL-3.0-or-later
Supported Platforms
GitHub Repository
https://github.com/vtraag/libleidenalg