Legend panel

legend panel intro

The legend panel shows a list of all categories and relationship types available in the current Perspective, along with the style used to render their nodes and relationships respectively. When the list contains many elements, you can use a filter to limit the legend to show only elements present in the scene, or find those not present in the scene, or search for an element of interest. Click on a category or relationship type in the legend to select all nodes or relationships of that type. A count shows the number of items of a type that are currently visible somewhere in the scene. Styles applied to nodes and relationships can also be changed from this legend panel. You have the flexibility to define the style for an entire category or relationship type, or use data-driven rules to apply styles to specific nodes or relationships. By using the arrow-button you can quickly collapse or expand the legend panel.

Rule-based styling

Bloom allows you to set up rule-based styling based on the properties present in your graph. Rule availability and application varies by the type of a graph element and its available properties. Rule-based styling is supported for string, numeric and boolean properties. Some temporal properties are also supported, localTime, localDateTime and date. See Parameter data types for more information on temporal properties.

There are three different modes for rule-based styling: single, range, and unique value.

Single

rule based styling single

This allows you to set up a rule that applies one single color and/or size based on a condition. For properties with numeric values, a histogram provides an overview of the values present in the current Scene. The slider lets you select a value and apply rule-based styling based on this. For example, as shown above, a rule defined on a unitPrice property of a Product category will only apply to Product nodes that have a unitPrice value that is less than 26.251. In this case, all affected nodes are presented in blue.

Histograms are only available for the single mode of rule-based styling and for properties with numerical values of either integer or float types. If the selected property does not have a numerical value, the histogram is not available.

Range

rule based styling range

For numeric properties, you can set up a rule that applies a range of colors or sizes to a range of values. In the image above, a Range-rule has been used to style nodes with the unitPrice integer property with a spectrum of colors from green to red, as well as size nodes from small to big.

Unique value

rule based styling unique values

Activate this when you want to assign a unique color to each property value of a given property key.

Rules override the default style setting such that if no rule is satisfied, the default style is applied. If multiple rules affecting the same attribute (e.g. node color) are specified, the rule that appears first in the list will be applied to that attribute. Subsequent rules may still be applied if they affect other attributes (e.g. node size).