Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a triangular grid graph
ResourceFunction["TriangularGridGraph"][n] creates a triangular grid graph from a triangular lattice of order n+1. |
A triangular grid graph:
In[1]:= |
Out[1]= |
Order 2 has 2 triangles and 3 vertices on each side:
In[2]:= |
Out[2]= |
Compare grid graphs corresponding to different Euclidean tilings:
In[3]:= |
Out[3]= |
Compare a triangular grid graph and a graph obtained from the Sierpinski triangle:
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License