hatvis.representations.line_graph#
- hatvis.representations.line_graph(H, s=1, weighted=True)[source]#
The \(s\)-line graph \(L_s(H)\) of the hyperedges (Aksoy et al. 2020).
Its vertices are the hyperedges with \(|e|\ge s\); two hyperedges are adjacent if they share at least \(s\) vertices. The edge attribute
weightis \(|e\cap f|\) (weighted=True). For \(s=1\) it is the ordinary line graph of the hypergraph.