Code for visual representation of the macro-layer usable within simco, only.
libs/ | Code for visual representation of the macro-layer usable within simco, only. |
update-agents | Updates the visualization of agents (shows agent with id=1 if followMe? |
update-edges-visualization | Updates the visualization of edges: set color depending on degree (payoffs/limit) |
visualize-edge-type | Sets the color of the calling edge depending on the hash-value of the edge-name. |
visualize-edge-state | Set thickness/color, depending on my-degree, resulting colors range from blue over green to red for degree -1 0 1 |
get-color | Calculates color for degree |
update-nodes-visualization | Updates the nodes’ visualization, based on their type or state. |
visualize-node-type | Sets the color of the calling node depending on the hash-value of the node-name. |
visualize-node-state | If node is alive: Sets node-color to yellow if any turtle is lcoated on the node, gray otherwise. |
inspect-me | Helps to inspect single objects for debugging |
Updates the visualization of agents (shows agent with id=1 if followMe?
to update-agents-visualization
Updates the visualization of edges: set color depending on degree (payoffs/limit)
to update-edges-visualization
Sets the color of the calling edge depending on the hash-value of the edge-name.
to visualize-edge-type
Set thickness/color, depending on my-degree, resulting colors range from blue over green to red for degree -1 0 1
to visualize-edge-state [my-degree]
Calculates color for degree
to-report get-color [my-degree]
Updates the nodes’ visualization, based on their type or state.
to update-nodes-visualization
Sets the color of the calling node depending on the hash-value of the node-name.
to visualize-node-type
If node is alive: Sets node-color to yellow if any turtle is lcoated on the node, gray otherwise.
to visualize-node-state
Helps to inspect single objects for debugging
to inspect-me