Open book · version 1.0 · November 2026
Hypergraph Analysis and Visualization in Python
The hatvis toolbox
A hypergraph keeps a group of three or more interacting entities together instead of breaking it
into pairs. This book develops the representations, views, and algorithms of hypergraph analysis in one notation and
shows, for each of them, how to run it in Python with the hatvis package, what the hypergraph view reveals
that a graph would hide, and how the parameters change the result. Every figure of a computed result comes from an
example script that opens in Google Colab.
Contents
- Preface
- 1Introduction
- 2Representations and interchange
- 3Matrix views
- 4Node-link and set views
- 5Similarity-based visualization
- 6Walks, connectivity, and centrality
- 7Clustering and partitioning
- 8Frequent patterns and association rules
- 9Higher-order structure and null models
- 10Combinatorial problem solving
- 11Dynamics and learning
- 12Temporal and comparative analysis
- 13What the hypergraph view buys
- AAPI reference
- BMigrating from HAT-VIS, HyperGodot, and other packages
- CThe example gallery
- Bibliography
© 2026 János Abonyi, Tímea Czvetkó, and Attila Ficsor. This book is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/): it may be copied, redistributed, and adapted for any purpose, provided the source is credited. The hatvis software described in the book is released under the MIT License.
Software: https://github.com/ComplexSystemsIntelligence/hatvis
Documentation: https://complexsystemsintelligence.github.io/hatvis
Installation: pip install hatvis
This web edition is generated from the same LaTeX source as the PDF edition; equations, figures, and numbering follow the PDF. Every figure that shows a computed result was produced by an example script of the package.