Find flow-based communities in complex networks
Use the map equation framework and Infomap to model how flow moves through your network and detect multilevel communities in directed, weighted, multilayer, bipartite, and memory networks.
import infomap
edges = [(0, 1), (0, 2), (1, 2), (2, 3), (3, 4), (3, 5), (4, 5)]
result = infomap.run(edges)
result.modules()
# {2: 1, 0: 1, 1: 1, 3: 2, 4: 2, 5: 2}Since 2008, the framework has grown from a random-walk coding idea into open-source software, visualization tools, and ongoing research on higher-order, multilayer, and Bayesian community detection.
Explore
News
Latest releases & papers
Jul 13, 2026
Infomap v2.15
infomap.run() is now the canonical, fully typed entry point for community
detection — common options live on the signature, and results come back as rich
Result objects with summary(), to_series(), and one-call to_networkx()
and to_igraph() conversions, plus a summary card that renders inline in
notebooks. Also new: bundled example networks in infomap.datasets, named state
nodes across the Python and R APIs, the infomap-network v1.0 JSON input format,
and exposed flow-iteration and tolerance controls. Options are now validated
with guided error messages, and engine logging routes through Python's standard
logging module (Python docs,
changelog).
Jun 23, 2026
Infomap v2.13
Stop trials on a codelength plateau with --converge, compact
--multilayer-relax-to-self coupling, multilayer cluster-data in the
Python/R API, cooperative interrupt hooks for long-running runs, and pretty
console output. Million-scale runs now use roughly half the peak memory and
finish about 25% faster than v2.12 with no loss in solution quality, and peak
memory is now largely independent of hierarchy depth — so deep hierarchical
networks are far cheaper to cluster
(changelog).
Jun 8, 2026
Infomap v2.12
Automatic thread counts for clusters and schedulers, reproducible run metadata, JSON run reports, distributed trial sharding, concurrent trials, a Python GraphRAG adapter, and lower peak memory for multi-trial runs (HPC notebook, changelog).
May 28, 2026
Infomap v2.11
Drop-in NetworkX find_communities(), igraph and scipy sparse input,
AnnData/Scanpy integration, and revamped
Python documentation
with tutorial notebooks
(changelog).
May 5, 2026
Infomap v2.10
Per-level module counts in JSON output, idiomatic R package with SWIG bindings, library-safe no-output mode (changelog).
“The best maps convey a great deal of information but require minimal bandwidth: the best maps are also good compressions.”
M. Rosvall and C. T. Bergstrom, PNAS 105, 1118 (2008)

