Code for visual representation of the macro-layer
| libs/ | Code for visual representation of the macro-layer |
| edge-center | Gives the central <axis>-position between nodes connected by given my-edge |
| layout | Sets layout style of the infrastructure-graph. |
| tv | Changes layout for presentation purposes: thicker edges, gray patches, some more agents. |
to-report edge-center [axis edge]
Gives the central <axis>-position between nodes connected by given my-edge
| axis | ”x” or “y” (axis you want to get) |
| my-edge | edge for which the middle point in the axis specified shall be calculated |
| floating point number | central position of axis between nodes connected by my-edge |
Gives the central axis-position between nodes connected by given my-edge
to-report edge-center [axis edge]
Sets layout style of the infrastructure-graph.
to layout
Changes layout for presentation purposes: thicker edges, gray patches, some more agents.
to tv