-
Notifications
You must be signed in to change notification settings - Fork 0
LinePainter
The LinePainter generally spoken draws a line between two nodes. The LinePainter needs DataPackets containing a uint16
value at the beginning. This uint16 value defines the neighbor where the line must be drawn to. All following payload starting at byte 22 (respectively offset 21) of the packet is arbitrary data and can be displayed using StringFormatter expressions.
The time to live defines how many seconds a line will be displayed. If the time to live is set to 0, the line will never be removed.
The first image shows an example configuration while the seconds shows the result of this configuration.
As one can see, the strings generated by the StringFormatter expressions are being displayed next to the sender and above the line between the sender and its neighbor.
The LinePainter does not need metric positions. It simply draws a line between two nodes.