Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate Cartesian-like coordinates for a simple two-dimensional causal graph
ResourceFunction["SimpleCausalGraphCoordinates"][size,type] returns coordinates of the form {pointnumber,time,space} for the causal graph of structural type type. |
Coordinates for the simple triangular type causal graph with initial node size 10:
| In[1]:= |
| Out[1]= | ![]() |
Check that lie on a triangular lattice:
| In[2]:= |
| Out[2]= | ![]() |
Coordinates for the hexagonal type causal graph with initial node size 10:
| In[3]:= |
| Out[3]= | ![]() |
Check that these lie on a hexagonal lattice:
| In[4]:= |
| Out[4]= | ![]() |
Coordinates for the hybrid triangular-hexagonal type causal graph with initial node size 10:
| In[5]:= |
| Out[5]= | ![]() |
Check that these lie on a hybrid lattice with triangles between hexagons:
| In[6]:= |
| Out[6]= | ![]() |
Create a triangular structured causal graph:
| In[7]:= | ![]() |
| Out[8]= | ![]() |
Calculate the coordinates for each node:
| In[9]:= |
| Out[10]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License