Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Embed a hypergraph into a surface
ResourceFunction["GraphReconstructedSurface"][hg] embeds the hypergraph hg into a surface. | |
ResourceFunction["GraphReconstructedSurface"][hg,delta] embeds the hypergraph hg into a surface while removing triangles on the surface with area greater than delta. |
Surface embedding of a Wolfram model:
| In[1]:= | ![]() |
| Out[1]= | ![]() |
A function to generate a hypergraph:
| In[2]:= | ![]() |
Generate the list of hyperedges:
| In[3]:= |
Show the graph and the embedding surface together:
| In[4]:= |
| Out[4]= | ![]() |
Change the style:
| In[5]:= |
| Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License