Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get a skew graph on a torus with a given number of hexagonal cells
ResourceFunction["HexagonalTorusGraph"][hexagons,{a,b}] makes an (a,b)-skew torus graph with a given number of hexagons. |
There is a unique hexagonal torus graph with eight cells:
| In[1]:= |
| Out[1]= | ![]() |
A 30-hexagon toroidal graph in 3D:
| In[2]:= |
| Out[2]= | ![]() |
When a hexagonal torus graph of this form exists, the toroidal dual is the circulant graph (a, b, a+b):
| In[3]:= |
| Out[3]= | ![]() |
Some skew values are invalid:
| In[4]:= |
| Out[4]= |
The torus graphs corresponding to the toroidal duals of the following sextic toroidal graphs up to 20 vertices are out of scope for this function:
| In[5]:= |
The number of distinct torus graphs with 7 to 100 hexagons is given by the following code (see A129033):
| In[6]:= | ![]() |
| Out[6]= | ![]() |
The 33 distinct hexagonal torus graphs up to 20 hexagons that can be made with this method:
| In[7]:= | ![]() |
| Out[7]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License