hatvis.io.to_hif#
- hatvis.io.to_hif(H, metadata=None)[source]#
Convert to a HIF dictionary (
network-type,nodes,edges,incidences).Hyperedge weights go to the
weightfield of the edge records, incidence values to theweightfield of the incidence records, attribute tables toattrs. ADirectedHypergraphgetsdirection=tail/head.