Query Visualization Settings

You can configure settings for you graph visualization by clicking the Settings gear icon in the Query Visualization tab.

The Visualization Settings slider contains the following four tabs:

General Tab

The General tab contains the following configurations:

Figure: General Tab

Description of the illustration query_viz_general_tab.png

Table: General Tab Attributes

Attribute Description
Layout Supported layouts are: Circle, Concentric, Force (default), Grid, Hierarchical, Preset, Radial, Random, and Geographical.

The Force layout also supports a clustering option, which allows you to visualize a graph with clustered vertices.

See Layouts in Property Graph Visualization Developer's Guide and Reference for more information.

Theme Supported themes are:
  • Light (default)
  • Dark
Edge Marker Supported edge markers are:
  • Arrow (default)
  • None
Similar Edge Grouping When this option is enabled, multiple edges between the same source and target vertices are grouped in the graph. Grouped edges appear as a single edge labeled with a number indicating how many edges were grouped.<p>For example, the following image shows two graph visualizations side by side in Graph Explorer. The visualization on the left displays multiple edges from the source vertex (ID=816) to the destination vertices (ID=287 and ID=289). The visualization on the right shows edges with the same source and target vertex IDs grouped together because Similar Edge Grouping is enabled in the visualization settings. </p>
Figure: Grouping Similar Edges {: #GUID-1F5C5D34-391B-443C-84BD-56D154CC4B1A__FIG_TMV_FR4_S3C .titleinfigure}
Format Numbers By default, this option is enabled so that numbers are displayed according to your regional or language settings, such as decimal and grouping separators.
Display Size Determines the number of graph elements to be visualized on a page from the result set.
Toolbar Size Determines the size of the buttons and search box placed in the toolbar.

Graph Exploration Tab

Figure: Graph Exploration

Description of the illustration query_viz_graph_explorer_tab.png

The Graph Exploration tab supports the following configurations:

Styles Tab

You can configure and manage vertex and edge styles to customize the appearance of vertices and edges in the graph. The Styles tab in Visualization Settings displays both the default and custom vertex and edge styles.

You can perform the following actions in this tab:

Description of the illustration query_viz_styles_tab.png

Adding a new custom style for a vertex or an edge

To add a new vertex or an edge style, click Create Vertex Style or Create Edge Style as required. The following shows the screenshot for configuring a new vertex style.

Figure: Adding a new Vertex Style

Description of the illustration custom_vertex_style.png

You can configure the following values as appropriate:

Groups Tab

You can configure rule-based groups in the Groups tab to organize vertices and edges according to specific conditions. You can also include aggregated data within these groups.

Figure: Groups Tab

Description of the illustration explorer_groups_tab.png

To add a new vertex or edge group, click New Vertex Group or New Edge Group as required and configure the following values:

The following example shows the configuration of a vertex group. The configuration creates one grouped vertex for each vertex label, considering only vertices with ID < 300, and calculates the average aggregation of the BALANCE property in each group.

If the grouping is configured to be automatically applied during graph loading, then the conditional grouping is applied on the whole graph displayed in the visualization panel.

Otherwise, you can apply the predefined group as shown:

  1. Click the Select Group Option list in the graph visualization toolbar.

  2. Select the group name.

    Figure: Rule-based Grouping

    Description of the illustration explorer_rule_based_groups.png

    In the preceding visualization, the grouping criterion is ID < 300. All vertices whose ID is less than 300 are combined into a single grouped vertex. The tooltip shows the group count and the aggregated property value.