Example gallery#
Every script runs on its own (python plot_xx.py), uses random_state=0
where randomness is involved, prints the numbers quoted in the book and draws
the figures of the book.
Representations and interchange#
Incidence matrices, expansions, line graphs, Laplacians and the interchange with other packages (book chapter 2).
A first hypergraph: incidence matrix, dual and degrees
Interchange: HIF, HyperGodot files and other Python libraries
Matrix views#
Seriated incidence matrices, biclusters, PAOH and UpSet views (chapter 3).
Node-link and set views#
Layouts, hyperedge styles, groups, primal-dual views and the interactive viewer (chapter 4).
Similarity-based visualization#
The HAT-VIS pipeline, the electric-car case study and the membership-aware layout (chapter 5).
HAT-VIS case study: developing an autonomous electric car
Membership-aware layout: similarity with fewer intrusions
Walks, connectivity and centrality#
s-walks, s-centralities, eigenvector centralities and hyper-cores (chapter 6).
Clustering and partitioning#
Hypergraph modularity, Louvain, spectral methods, co-clustering and bisection (chapter 7).
Community detection on a planted-partition hypergraph
Frequent patterns and association rules#
Itemset hypergraphs, rule hyperarcs and statistically validated hyperedges (chapter 8).
Higher-order structure and null models#
h-motifs, simpliciality and randomized reference hypergraphs (chapter 9).
Simpliciality and nestedness: hypergraph or simplicial complex?
Null models: what is structure and what is chance?
Combinatorial problem solving#
Covering, transversals, acyclicity, directed hyperpaths and quality function deployment (chapter 10).
Directed hypergraphs: assembly feasibility and cost
Dynamics and learning#
Diffusion, group consensus, threshold contagion, label spreading, HGNN and hyperedge prediction (chapter 11).
Temporal and comparative analysis#
Evolving news narratives and the comparison of two system designs (chapter 12).