#graph #webgraph #graph-compression #codes

webgraph-algo

Algorithms for the Rust port of the WebGraph framework (http://webgraph.di.unimi.it/)

6 releases (breaking)

Uses new Rust 2024

0.6.1 Feb 23, 2026
0.6.0 Feb 18, 2026
0.5.0 Nov 28, 2025
0.4.0 Nov 14, 2025
0.1.1 Apr 1, 2025

#1023 in Compression

Download history 75/week @ 2025-12-26 199/week @ 2026-01-02 227/week @ 2026-01-09 216/week @ 2026-01-16 222/week @ 2026-01-23 230/week @ 2026-01-30 289/week @ 2026-02-06 252/week @ 2026-02-13 335/week @ 2026-02-20 262/week @ 2026-02-27 124/week @ 2026-03-06 227/week @ 2026-03-13 99/week @ 2026-03-20 482/week @ 2026-03-27 125/week @ 2026-04-03 202/week @ 2026-04-10

930 downloads per month
Used in 7 crates (2 directly)

Apache-2.0 OR LGPL-2.1-or-later

1MB
16K SLoC

Algorithms for WebGraph

downloads dependents GitHub CI license Latest version Documentation

Algorithms for the Rust implementation of the WebGraph framework for graph compression.

Algorithms

Graph Structure

Distance Computation

  • HyperBall: Probabilistic algorithm for computing distances, closeness centrality, and other measures using HyperLogLog counters
  • ExactSumSweep: Exact computation of eccentricities, radius, and diameter

Community Detection

Ranking

  • PageRank: Fast parallel computation of PageRank.

CLI Integration

Many algorithms can also be accessed through the command-line interface.

Acknowledgments

This software has been partially supported by project SERICS (PE00000014) under the NRRP MUR program funded by the EU - NGEU, and by project ANR COREGRAPHIE, grant ANR-20-CE23-0002 of the French Agence Nationale de la Recherche. Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the Italian MUR. Neither the European Union nor the Italian MUR can be held responsible for them.

Dependencies

~30–66MB
~1M SLoC