libs/helpers-visualization.nls

Code for visual representation of the macro-layer

Summary
libs/helpers-visualization.nlsCode for visual representation of the macro-layer
edge-centerGives the central <axis>-position between nodes connected by given my-edge
layoutSets layout style of the infrastructure-graph.
tvChanges layout for presentation purposes: thicker edges, gray patches, some more agents.

edge-center

to-report edge-center [axis edge]

Gives the central <axis>-position between nodes connected by given my-edge

Parameters

axis”x” or “y” (axis you want to get)
my-edgeedge for which the middle point in the axis specified shall be calculated

Returns

floating point numbercentral position of axis between nodes connected by my-edge

layout

to layout

Sets layout style of the infrastructure-graph.

tv

to 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
Hold the nodes.
Holds the edges
to layout
Sets layout style of the infrastructure-graph.
to tv
Changes layout for presentation purposes: thicker edges, gray patches, some more agents.
Close