hatvis.io#
Reading, writing and converting hypergraphs.
Formats#
HIF – the Hypergraph Interchange Format (Coll et al. 2025), a JSON schema shared by HyperNetX, XGI, Hypergraphx and HAT;
HyperGodot text format – one hyperedge per line with
#WEIGHTand#GROUPtags (Ficsor et al. 2025);SPMF itemset and rule output (
#SUP:,#CONF:);incidence lists (CSV) and incidence matrices (CSV, Excel).
Converters to and from HyperNetX, XGI, Hypergraphx and networkx bipartite graphs import those packages lazily.
HIF, HyperGodot, SPMF, CSV and Excel; converters to and from HyperNetX, XGI and Hypergraphx.
Functions#
|
Convert to a HIF dictionary ( |
|
Build a hypergraph from a HIF dictionary. |
|
Write a HIF JSON file. |
|
Read a HIF JSON file. |
|
Write a hypergraph in the HyperGodot text format (vertex labels must not contain spaces). |
|
Read a HyperGodot input file (see |
|
Parse the HyperGodot text format. |
|
Read SPMF itemset output ( |
|
Read SPMF association rules ( |
|
Write hyperedges as SPMF itemsets (the weight is written as |
|
Read a CSV file. |
|
Write an incidence list (default) or the incidence matrix as CSV. |
|
Read an incidence matrix from an Excel sheet (vertices in rows, hyperedges in columns). |
|
Convert to a |
|
Convert from a |
|
Convert to an |
|
Convert from an |
Convert to a |
|
Convert from a |
|
|
Build a hypergraph from a bipartite graph (inverse of |
Alias of |