libs/hubnet.nls

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.

Todo in future versions

separate node- and edge-view? would allow for all possible combinations.

no-view: blank network view

overload: show overloaded nodes/edges only.

Summary
libs/hubnet.nlsThis file contains visualiuation code for clients connected via hubnet.
receive-hubnet-messagesReceive messages from hubnet and process them
visualize-hubnet-edgeVisualization for edges in hubnet
short-hubnet-sendShall send edge-formatting commandos via hubnet.

receive-hubnet-messages

to receive-hubnet-messages

Receive messages from hubnet and process them

visualize-hubnet-edge

to visualize-hubnet-edge

Visualization for edges in hubnet

short-hubnet-send

to short-hubnet-send [my-name my-hidden my-color my-thickness]

Shall send edge-formatting commandos via hubnet.

Parameters

my-namehubnet client’s name
my-hiddenbool, indicating whether the edge shall be visible
my-colorcolor of the edge (as number or string, normal netlogo format)
my-thichnessthickness of the edge
to receive-hubnet-messages
Receive messages from hubnet and process them
to visualize-hubnet-edge
Visualization for edges in hubnet
to short-hubnet-send [my-name my-hidden my-color my-thickness]
Shall send edge-formatting commandos via hubnet.
Close