Using lenses in the Graph Browser

You can use lenses to alter the nodes or links that are displayed in the Graph Browser.

The Lenses tab

Side bar lenses tab

You can select from the following lens types:

  • Process: Allows you to replace a node with a relation between two of its children.

  • Color: Allows you to select a field, which is then used to color the nodes by using a coloring schema.

  • Conditional: Allows you to change a node property value by using configurable expressions.

  • Advanced: Allows you to apply the following metrics to the graph:

    • Betweenness

    • Closeness

    • Connectiveness

    • Degrees

    • Eigenvector

    • Pagerank

    • Halo

  • Label: Allows you to set the node label by using an expression.

  • Size: Use a log scale to adjust the node’s size according to an expression.

  • Spatio-temporal: Allows you to set the node time and geographic location from field values.

Lens parameters

Lens parameters

Each lens has specific parameters, which are used for every graph node.

Conditional lenses

Conditional lens

A conditional lens can change a property for all of the nodes that satisfy a condition. The properties that a conditional lens can alter are as follows:

  • Color

  • Node font icon

  • Node glyphs

  • Hidden

  • Label

  • Location

  • Node image

    Node icons that link to web images are not always shown properly due to security restrictions. You may need to configure the Image Proxy feature to display them.
  • Size

  • Time

  • Tooltip

The halo lens

Node halo lens

You can configure halos to be displayed around nodes. A halo is a circle around a node, which can be used to highlight or emphasize specific information.

Halos can be displayed on all nodes, on nodes that meet certain conditions, or only on the nodes that you select.

You add a halo by creating either an advanced lens or a custom lens. To add an advanced lens, complete the following steps:

  1. On the Lenses tab, select Advanced lens from the dropdown menu.

  2. Specify a name for the lens and select the entity type that it applies to.

  3. In the If section, set the conditions for the halos to appear. For example, apply halos to nodes that are currently selected or enter a Jexl expression, so that nodes appear only when a certain condition is true.

  4. Select the property Halo (object).

  5. In the To field, you can set the radius, the line width, and the colour of the circles.

  6. Specify that the halos display on the graph, on the map, or on both.

  7. Save the lens.

If you write a custom lens, set the halo property of every node that you want the halo to appear on to an object that contains the color, radius, and line width properties.

The halo is influenced by the node scale, so if you scale the node by a factor of two the halo also scales by a factor of two.

The Associate records based on ontology lens

Side bar - associate records based on ontology lens

The Associate records based on ontology lens can use the node’s underlying model, as in the following example, to replace a node with the relation between two of its children.

Investment model graph view

Investment model graph view

After you configure the lens, two nodes and their relationship will be displayed. For example, apply this lens to an investment node:

Investment node

You can obtain the associate records based on ontology as a result:

Associate records based on ontology result