hatvis.plotting.draw_bipartite#

hatvis.plotting.draw_bipartite(H, pos=None, *, ax=None, layout='spring', node_color='#285780', edge_node_color=None, labels=True, label_size=8, random_state=0, title=None)[source]#

Star-expansion (bipartite, extra-node) drawing: vertices as circles, hyperedges as squares.

layout="spring" uses a spring layout of the star expansion, "columns" puts vertices and hyperedges in two seriated columns.

Examples using hatvis.plotting.draw_bipartite#

What the clique expansion forgets

What the clique expansion forgets

Expansions, line graphs and Laplacian spectra

Expansions, line graphs and Laplacian spectra