hatvis.motifs.node_motifs#
- hatvis.motifs.node_motifs(H)[source]#
Counts of the six connected node motifs of order three.
For every vertex triple the hyperedges contained in it (sizes 2 and 3) are collected; the pattern of pairs and triples defines the motif, e.g. an open wedge (two pairs), a triangle of pairs, a lone 3-hyperedge, or a full simplex (the 3-hyperedge with all its pairs).
Examples using hatvis.motifs.node_motifs#
Simpliciality and nestedness: hypergraph or simplicial complex?
Simpliciality and nestedness: hypergraph or simplicial complex?