The book#
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#
Introduction: why group interactions need hypergraphs, the software landscape, notation, a first session
Representations and interchange: incidence matrices, expansions, line graphs, what projections lose, Laplacians, tensors, HIF
Matrix views: seriation (HAT-VIS barycentric, correspondence analysis, optimal leaf ordering), biclusters, UpSet, PAOH
Node-link and set views: HyperGodot force-directed layout, layout quality, seven hyperedge styles, groups, primal-dual views, interactive viewer
Similarity-based visualization: the HAT-VIS pipeline, the membership-aware layout, QFD as a hypergraph
Walks, connectivity and centrality: s-walks, s-centralities, random walks, eigenvector centralities, hyper-cores
Clustering and partitioning: hypergraph modularity, Louvain, spectral and co-clustering, Fiduccia-Mattheyses
Frequent patterns and association rules: itemset hypergraphs, rule hyperarcs, ARHP, validated hyperedges
Higher-order structure and null models: configuration model, h-motifs, simpliciality
Combinatorial problem solving: covering, transversals, acyclicity, directed hyperpaths, quality function deployment
Dynamics and learning: diffusion, group consensus, threshold contagion, label spreading, HGNN, hyperedge prediction
Temporal and comparative analysis: snapshots, turnover, persistence, differences, distances
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.