hatvis.interactive.to_html#
- hatvis.interactive.to_html(H, path=None, layouts=('similarity', 'force', 'membership', 'circular'), pos=None, group=None, node_color=None, edge_color=None, title=None, random_state=0)[source]#
Write a self-contained interactive HTML view of a hypergraph and return the HTML text.
- Parameters:
- H
Hypergraph - path
strorPath,optional Output file; if omitted only the HTML string is returned.
- layoutssequence
ofstr Layouts precomputed for the layout switch (names of
hatvis.plotting.resolve_layout()).- pos
dict,optional An additional user layout, listed first as
"custom".- group
str,optional edge_datacolumn used as group tag (line styles, toggles).- node_color, edge_color
mappinglabel->color,optional
- H