API referenceΒΆ

The infomap package exposes a small set of top-level helpers, a configuration dataclass, the main Infomap class, and a family of tree iterators returned when walking the resulting partition.

Top-level functions

Top-level helpers: find_communities(), find_igraph_communities(), and information-theoretic primitives.

Export helpers

GraphML and GEXF export helpers for graph-package workflows.

Infomap class

The main Infomap class with all configuration and run methods.

Options and multilayer inputs

InfomapOptions for reusable configuration and MultilayerNode for multilayer link inputs.

Tree nodes and iterators

InfoNode and the tree-walking iterators returned by Infomap.tree, Infomap.leaf_modules, and friends.