The book#

Cover of Hypergraph Analysis and Visualization in Python

Hypergraph Analysis and Visualization in Python: The hatvis toolbox by János Abonyi, Tímea Czvetkó and Attila Ficsor is the companion book of the package. It develops every method in one notation, keeps theory and experiments apart, and illustrates each method with the scripts of the example gallery, so the book, the documentation and the code show the same results. The book is published under the CC BY 4.0 license.

Read it online, with a link to Google Colab next to every figure computed by an example script, or download the PDF or the EPUB. All three editions are generated from the same LaTeX source and are also attached to the GitHub releases.

Contents#

  1. Introduction: why group interactions need hypergraphs, the software landscape, notation, a first session

  2. Representations and interchange: incidence matrices, expansions, line graphs, what projections lose, Laplacians, tensors, HIF

  3. Matrix views: seriation (HAT-VIS barycentric, correspondence analysis, optimal leaf ordering), biclusters, UpSet, PAOH

  4. Node-link and set views: HyperGodot force-directed layout, layout quality, seven hyperedge styles, groups, primal-dual views, interactive viewer

  5. Similarity-based visualization: the HAT-VIS pipeline, the membership-aware layout, QFD as a hypergraph

  6. Walks, connectivity and centrality: s-walks, s-centralities, random walks, eigenvector centralities, hyper-cores

  7. Clustering and partitioning: hypergraph modularity, Louvain, spectral and co-clustering, Fiduccia-Mattheyses

  8. Frequent patterns and association rules: itemset hypergraphs, rule hyperarcs, ARHP, validated hyperedges

  9. Higher-order structure and null models: configuration model, h-motifs, simpliciality

  10. Combinatorial problem solving: covering, transversals, acyclicity, directed hyperpaths, quality function deployment

  11. Dynamics and learning: diffusion, group consensus, threshold contagion, label spreading, HGNN, hyperedge prediction

  12. Temporal and comparative analysis: snapshots, turnover, persistence, differences, distances

  13. What the hypergraph view buys: the evidence, a guide from questions to methods, a workflow

Appendices: API reference tables, migration from HAT-VIS, HyperGodot and other packages, catalog of the example scripts.