hatvis.plotting.draw_hatvis#

hatvis.plotting.draw_hatvis(H, pos=None, *, ax=None, measure='jaccard', transitive=True, mode='mst', ego=None, width_by=None, size_by=None, offset=0.006, node_names=None, legend=True, label_size=9, title=None)[source]#

The HAT-VIS drawing (Czvetkó and Abonyi 2024).

Vertices are placed by hatvis.layout.layout_similarity(); inside every hyperedge the members are joined by a minimum spanning tree of the vertex dissimilarities \(1-s_{ij}\) (lines in the hyperedge color, with a hyperedge-specific line style and marker, and a small offset so that coinciding segments remain visible).

mode="labels" instead annotates every vertex with the hyperedges it belongs to (useful for crowded data); ego=v shows only the hyperedges containing v (ego-network view). width_by / size_by take hyperedge / vertex centralities for the line widths and marker sizes.

Examples using hatvis.plotting.draw_hatvis#

The HAT-VIS pipeline step by step

The HAT-VIS pipeline step by step

HAT-VIS case study: developing an autonomous electric car

HAT-VIS case study: developing an autonomous electric car