-
Notifications
You must be signed in to change notification settings - Fork 0
VectorSequencePainter
A VectorSequencePainter instance draws a sequence of lines. These lines are completely independent from node positions but could be drawn between arbitrary points. The starting point, edges and endpoint are given as coordinates via the payload of a Coordinates-List-Packet-2 or a Coordinates-List-Packet-3 (see Packet Format and Packet Types).
The dimensionality of the semantic types, the instance is registered for, must be configured in the preference page which is shown in the image below. All of these semantic types for an instance must have the same dimensionality. Anyway, in case of 3D, the third dimension will be ignored for the illustration.
All other values in the preference page are pretty self-explanatory.
As one can see in the image below, the position of the lines is completely independent from the position of the sending node. In this example the data for the line sequence was sent by node 150.
The VectorSequencePainter supports metric, since the starting and ending points of the lines are given in coordinates with respect to the actual positions in the real world. An instance of the VectorSequencePainter can not be active while a SpringEmbedderPositioner instance is active as well. Thus it will be deactivated automatically when a SpringEmbedderPositioner instance is getting active.