Module: Spatial Graph View ()

Description:

This module visualizes data objects of type Spatial Graph. Individual Segments may be displayed in wireframe mode, in Point-mode or alternatively as true three-dimensional tubes. In the case of Point-mode, the Points framing the Segment are shown; Nodes are displayed as spheres. Additional features of Spatial Graph View are pseudo-coloring and scaling of Points, Nodes and Segments. In order to colorize and scale the displayed items, it is possible to use one of the scalar data or labels stored in the data structure of the connected Spatial Graph object.

Nodes, Points and Segments can be highlighted by selecting them in the Spatial Graph inner spreadsheet. However, if a spreadsheet is connected to the port Statistics, the module will use it instead for highlighting the graph elements. Note that in this case, only the Segments can be selected in this spreadsheet, as only statistics on the Segments are available.

Connections:

Data [required]
The Spatial Graph object to be displayed.

Statistics [optional]
Spatial Graph Statistics created Spreadsheet object may be used for highlighting.

Node Colormap [optional]
Colormap used for pseudo-coloring the Nodes.

Segment Colormap [optional]
Colormap used for pseudo-coloring the Segments.

Ports:

Node

Node

Select if nodes should be shown or hidden.

Node Scale

Apply a scale factor to the radii of the nodes. It can be either a constant scale factor value (see Node Scale Factor) or a node-wise scale value defined by an attribute (if any) attached to nodes. Note that the attribute scale factor is also scaled by the Node Scale Factor.

Node Scale Factor

Choose a global scale factor value for the radii of the nodes.

Node Coloring

Set the coloring option for the nodes. It can be either a constant color for all nodes (see Node color) or a node-wise color defined by an attribute (if any) attached to nodes (see Node Colormap).

Node Colormap

When the Node coloring is set with an attribute, values from this attribute are colored using a colormap that transforms attribute values to colors. The type of the colormap affects this mapping as well as the range of the colormap. Range parameters can be changed graphically and advanced controls (e.g., colormap type) are available by pressing Edit button.

Node Color

When the Node Coloring is set to constant, the constant color can be changed using this control.

Segment

Segment

Select if segments should be shown or hidden.

Segment Style

Controls how the Segments are displayed. Select Lines for the wireframe mode, Points for the Points-frame mode, Tubes for true three-dimensional tubes. When Points is selected, the Points defining the Segments are shown.

Label Coloring

If label sets are selected, this menu allows you to select how the segments will be colored. If Labels is selected, the lines or tubes will be displayed using the label-coded colors. The colors are selected automatically according to the color of the labels specified in the Spatial Graph object. If Colormap is selected, a colormap is used.

Segment Coloring

Set the coloring option for the segments (lines, points or tubes). It can be either a constant color for all segments (see Segment Color) or a segment-wise color defined by an attribute (if any) attached to segments (see Segment Colormap).

Segment Color

When the Segment Coloring is set to constant, the constant color can be changed using this control.

Segment Colormap

When the Segment Coloring is set with an attribute, values from this attribute are colored using a colormap that transforms attribute values to colors. The type of the colormap affects this mapping as well as the range of the colormap. Range parameters can be changed graphically and advanced controls (e.g., colormap type) are available by pressing Edit button.

Segment Width

Line width of segments when they are rendered in wireframe mode (not as Tubes).

Point Size

Size of the markers representing the points that define the segments.

Tube Scale

Apply a scale factor to the radii of the tubes. It can be either a constant scale factor value (see Tube Scale Factor) or a tube-wise scale value defined by an attribute (if any) attached to tubes. Note that the attribute scale factor is also scaled by the Tube Scale Factor.

Tube Scale Factor

Choose a global scale factor value for the radii of the tubes.

Commands:

setLineWidth <width>
Specifies the width of width of lines in wireframe mode for Segments. This value can also be set using the Segment width port.

getVisibility
Returns the Segment visibility string followed by the Node visibility string. Where both strings contain only letters [A-Z], reflecting the current visibility mask of Segments and Nodes.

setVisibility <segmentVisibility> <nodeVisibility>
Sets the visibility mask of Segments and Nodes. Where segmentVisibility and nodeVisibility are strings containing only letters [A-Z].