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.

Try Infomap in your browser Install Infomap
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}
More install options →

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

Infomap

Infomap

Install the reference implementation or test a network in your browser.

Apps & Notebooks

Apps & Notebooks

Inspect partitions, hierarchies, alluvial changes, notebooks, and bioregions.

Publications

Publications

Find method papers, software citations, surveys, and examples to cite.

News

Latest releases & papers

All news

Oct 15, 2026

Release

C3 v2 – Consistent Categorical Colors

C3 generates distinct, deterministic categorical colors for maps and charts. Version 2 places hues on the OKLCH hue circle or along any d3 color scheme, and adds tones, seed colors, and nested colors for hierarchies, with each child varying within its parent's range. It now comes in TypeScript (npm install @mapequation/c3) and Python (pip install c3-colors) with the same functions and the same colors, and has an interactive explorer (changelog).

Jul 13, 2026

Release

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 25, 2026

Release

Map equation tutorial update

The map equation tutorial interactively explains the mechanics of the Map equation. In his master's thesis work, Henrik Larsson did a major update of the whole app and added missing sections explaining the hierarchical map equation and regularization for incomplete data.

Jun 23, 2026

Release

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

Release

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).

“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)

MapEquation

A research framework for understanding flows on networks.

Software

InfomapApps & Notebooks

© 2008–2026 mapequation.org · Terms

martin.rosvall [at] umu.se · Made at Umeå University