hatvis.representations.s_line_graph#

hatvis.representations.s_line_graph(H, s=1, edges=True, weighted=True)[source]#

\(s\)-line graph of the hyperedges (edges=True) or of the vertices.

The vertex version is the \(s\)-line graph of the dual hypergraph: two vertices are adjacent if they share at least s hyperedges.