This file contains visualiuation code for clients connected via hubnet. The main goals is to provide different views on the macro layer of the system.
Views are differentiated by the client’s name, which should contain one of the keywords mentioned below. It may contain any other characters additionally at any position. Due to the architecture of netlogo/hubnet, changes in visualization have to be implemented per element to change, so we have to handle edges and nodes separately.
separate node- and edge-view? would allow for all possible combinations.
no-view: blank network view
overload: show overloaded nodes/edges only.
libs/ | This file contains visualiuation code for clients connected via hubnet. |
receive-hubnet-messages | Receive messages from hubnet and process them |
visualize-hubnet-edge | Visualization for edges in hubnet |
short-hubnet-send | Shall send edge-formatting commandos via hubnet. |
to short-hubnet-send [my-name my-hidden my-color my-thickness]
Shall send edge-formatting commandos via hubnet.
my-name | hubnet client’s name |
my-hidden | bool, indicating whether the edge shall be visible |
my-color | color of the edge (as number or string, normal netlogo format) |
my-thichness | thickness of the edge |
Receive messages from hubnet and process them
to receive-hubnet-messages
Visualization for edges in hubnet
to visualize-hubnet-edge
Shall send edge-formatting commandos via hubnet.
to short-hubnet-send [my-name my-hidden my-color my-thickness]