Wolfram Function Repository
Instantuse addon functions for the Wolfram Language
Function Repository Resource:
Plot a hypergraph defined by a list of hyperedges
ResourceFunction["HypergraphPlot"][{{v_{i1},v_{i2},…},…}] generates a plot of the hypergraph with hyperedges {{v_{i1},v_{i2},…},…}. 
"BaseLayout"  "SpringEmbedding"  how to lay out vertices 
"SubsetBoundary"  Automatic  whether to draw the boundary of subsets 
"SubsetBoundaryScale"  2  scale factor of the subset boundary size 
"SubsetBoundaryStyle"  Automatic  styles for subsets 
"SubsetEdge"  Automatic  whether to draw edges connecting vertices in subsets 
"SubsetEdgeStyle"  Automatic  styles for subset edges 
PlotTheme  "IndexLabeled"  overall theme for vertices 
VertexLabels  None  labels and placements for vertices 
VertexLabelStyle  Automatic  style to use for vertex labels 
VertexShapeFunction  Automatic  generate graphic shapes for vertices 
VertexSize  0.15  size of vertices 
VertexStyle  Automatic  styles for vertices 
Draw a hypergraph:
In[1]:= 

Out[1]= 

Draw a hypergraph without edges connecting subsets:
In[2]:= 

Out[2]= 

Draw a hypergraph with different vertex styles:
In[3]:= 

Out[3]= 

The default base layout is "SpringEmbedding":
In[4]:= 

Out[3]= 

Use "RadialEmbedding":
In[5]:= 

Out[6]= 

The default subset boundary is Automatic:
In[7]:= 

Out[8]= 

Use False to not show subset boundaries:
In[9]:= 

Out[10]= 

Alternate between True and False:
In[11]:= 

Out[12]= 

The default subset boundary scale factor is 2:
In[13]:= 

Out[14]= 

Increase the scale factor to 3:
In[15]:= 

Out[16]= 

Alternate between 3 and 5:
In[17]:= 

Out[18]= 

The default subset boundary style is Automatic:
In[19]:= 

Out[20]= 

Use black boundary lines:
In[21]:= 

Out[22]= 

Alternate between red and blue:
In[23]:= 

Out[24]= 

The default subset edge is Automatic:
In[25]:= 

Out[26]= 

Use False to not show subset edges:
In[27]:= 

Out[28]= 

Alternate between True and False:
In[29]:= 

Out[30]= 

The default subset edge style is Automatic:
In[31]:= 

Out[32]= 

Use black edge lines:
In[33]:= 

Out[34]= 

Alternate between red and blue:
In[35]:= 

Out[36]= 

Draw a hypergraph constructed by communities:
In[37]:= 

Out[37]= 

Pick the two most involved members of the terrorist network:
In[38]:= 

Out[38]= 

In[39]:= 

Out[39]= 

Generate a hypergraph by members connected to most involved members:
In[40]:= 

Out[40]= 

Show a hypergraph:
In[41]:= 

Out[41]= 

This work is licensed under a Creative Commons Attribution 4.0 International License