hatvis.representations.simplicial_closure#

hatvis.representations.simplicial_closure(H, max_size=None)[source]#

Downward closure: add every non-empty subset of every hyperedge (an abstract simplicial complex).

Exponential in the hyperedge size; max_size limits the size of the faces that are added. The faces get labels "{a,b,...}" and edge_data["kind"] records whether a face was "original" or "added".

Examples using hatvis.representations.simplicial_closure#

Simpliciality and nestedness: hypergraph or simplicial complex?

Simpliciality and nestedness: hypergraph or simplicial complex?