Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Plot a hypergraph defined by a list of hyperedges and isolated vertices
ResourceFunction["SimpleHypergraphPlot"][list] plots the hypergraph defined by list. |
Plot the hypergraph having vertices a, b, c, d, e, f, g and hyperedges {a,b,c,d}, {b,c}, {c,d,e}:
In[1]:= |
Out[1]= |
Define a random hypergraph having n vertices and m hyperedges:
In[2]:= |
Out[3]= |
Plot it:
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License