Hypergraph.NetworkGraph (Hypergraph v1.0.0)
View SourceUtilities to render a Hypergraph as a network graph using VegaLite.
The visualization places vertices on a circular layout and draws lines between vertices that share a hyperedge. Node size and color reflect vertex degree (number of incident hyperedges).
Summary
Functions
@spec visualize(Hypergraph.t()) :: VegaLite.t()
Render the hypergraph as a VegaLite visualization.
Returns a VegaLite specification representing the network graph.
Vertices are placed on a circular layout; edges are rendered as lines
and nodes as circles sized & colored by degree.