hatvis.representations.from_graph_edges#

hatvis.representations.from_graph_edges(G, weight='weight')[source]#

A graph as a 2-uniform hypergraph (one hyperedge per graph edge).