Migration guide#
Coming from HAT-VIS (MATLAB): the incidence matrix becomes a
hatvis.Hypergraph (Hypergraph.from_incidence(IM)); the
barycentric sorting loops are hatvis.seriate(); the weighted Jaccard
similarity and its max-product closure are hatvis.vertex_similarity()
(transitive=True); cmdscale is hatvis.layout_similarity(); the
spanning-tree hyperedges are hatvis.plotting.draw_hatvis().
Coming from HyperGodot: input files are read and written with
hatvis.io.read_hypergodot() and hatvis.io.write_hypergodot(); the
force-directed layout with the same parameters is hatvis.layout_force();
convex-hull hyperedges, line styles by group, line widths by weight and the
vertex filter are arguments of hatvis.plotting.draw_hypergraph()
(style="hull", group=, width_by=, highlight=); the interactive
window is hatvis.to_html().
Coming from HyperNetX, XGI or Hypergraphx: convert with the functions
to_* / from_* of hatvis.io or exchange HIF files
(hatvis.io.write_hif(), hatvis.io.read_hif()).
Appendix B of the book gives complete tables.