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 the coordinate information {point number, time, space} for the initial node size of the causal graph with a different structural type of causal graph (e.g. triangular or grid). |
Coordinates for the simple triangular (type 1) causal graph with initial node size 10:
| In[1]:= |
|
| Out[1]= |
|
Coordinates for the grid-like (type 2) causal graph with initial node size 10:
| In[2]:= |
|
| Out[2]= |
|
Create a triangular structured causal graph:
| In[3]:= |
|
| Out[3]= |
|
Calculate the coordinates for each node:
| In[4]:= |
|
| Out[4]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License