Scene interactions

Several interactions are available from the canvas to help you explore your graph visualization. Some of the commonly expected ones are:

  • Zoom in and out using your mouse or touchpad scroll functions, or use the buttons at the bottom right of the canvas. The size of the text on nodes is dynamic in relation to the size of the node.

  • Hover over a node or a relationship to see its label and selected properties. For nodes, but not relationships, you can control what properties to display from the Perspective drawer. Click on a label from the list of Categories and check/uncheck Captions from the available properties to select what to display in the tooltip.

    tooltip node 2
  • Left-click on a single node or relationship to select or deselect it. Multiple objects can be selected by holding the appropriate keyboard modifier key (Cmd or Ctrl key) before selecting.

  • Double-click on a node or relationship to open the Inspector to inspect the element’s details.

  • Left-click in an empty spot on the canvas and drag immediately to pan the visualization.

  • Left-click and hold and then drag to bring up a lasso tool to select multiple nodes and relationships.

    lasso tool
  • Right-click anywhere on the canvas to bring up context-sensitive menus for the object(s) clicked on. You can right-click on a single node or relationship, on a group of highlighted nodes and/or relationships, or on an empty spot on the canvas.

    context double

    The following sections describe some of the notable graph interactions available in these context menus.

Reveal relationships

With a single or group of nodes selected, you can reveal direct relationships between them that are not already visible in your scene. This option is available if relationships exist between selected nodes, provided that they are not already displayed. Accordingly, if only one node is selected, the Reveal relationships is available only if the node in question has a relationship to itself.

reveal relationships

Expand nodes

With a single or group of nodes selected for context, you can expand the nodes to visualize their immediate neighbors. Then, select from the result and expand further to navigate local areas of the graph. Expansion can be done from the right-click context menu of a node or from the Inspector when viewing a node’s relationships or neighbors. When expanding neighbors of a node, the number of nodes returned is limited to the number specified in the Node query limit in the Settings drawer.

expand nodes

The right-click context menu provides additional options to expand selectively along a specific relationship type and direction, or to open the Advanced Expansion dialog and choose to expand along several specific paths, or to specific neighboring node types, or a combination. You can also choose to limit the number of nodes that should be returned in the result. If you set a limit in the context menu, this overrides any Node query limit set in the Settings drawer.

advanced expansion

Shortest path

A powerful feature of Neo4j graphs is to see how two entities may be connected without knowing the exact path of relationships between them. To do so in Bloom, you can run a shortest path command between two nodes. Select the two nodes of interest, right-click on one of the nodes to bring up the context menu and select the Shortest Path option.

shortest path
Bloom searches for shortest paths within 20 hops and shows the first shortest path found by the database.

Hierarchical layout

In instances where you are interested in knowing more about how various nodes are related in comparison to each other, in an organizational chart for example, Bloom allows you to change the layout of your scene. By default, the nodes and relationships in a Scene are presented in a force-directed layout. By clicking the hierarchical-layout button in the bottom right-hand corner of the canvas, the nodes in the Scene will be presented in an hierarchical order instead. The nodes are thus arranged by the directionality of their relationships, determined by the way relationship directions are set up in the database. When the hierarchical layout is activated, you can change the orientation by rotating the layout using the button directly to the left of the layout button. The orientation rotates by 90 degrees each time the button is clicked. If you want to go back to the force-directed layout, just click the layout button again.

layouts hierarchy

Map

The map is located in the bottom right corner of the canvas and gives you an overview of the entire scene. It helps you navigate, especially when your graph is large and/or when your nodes contain a lot of information and you often need to zoom in and out to view.

The map shows all the nodes present in the scene, as well as the currently visible selection and where this selection is located in relation to the whole scene. It allows you to pan the Scene by dragging the box that contains the current selection, you can zoom in and out using the + and -.

Presentation mode hides the search bar, legend panel and other elements to take the current Scene into full screen. If you need the legend panel while in presentation mode, use the arrow-button to expand.

Your current zoom-percentage is shown and by clicking that number, you reset the zoom to 100%. In addition, you can select to fit the entire graph to the screen or hide the map.

map

Filtering

When you have a Scene full of nodes and relationships, it can be difficult to identify exactly the sub-graph you need. Applying a filter can help you fine-tune the results from your Search phrase and help you find what you are looking for in your data. When a filter is applied, all filtered elements are greyed out in the Scene, they are still visible but you cannot interact with them. You can also completely remove the filtered elements from the Scene, by using the Dismiss Filtered elements.

filtering dismiss

Filters can be accessed from the Filter drawer and are created based on the elements present in your scene, their categories, types, and properties. The filter can be as coarse or as fine as you like.

To start, you select the node category or relationship type to base the filter on. At that point, you have the option to filter out all other categories present in the Scene. For more fine-grained filtering, you can further specify properties to filter on. Filtering is supported for integer, float, boolean, string, Date, Time, LocalTime, DateTime, and LocalDateTime properties. If the chosen property is numeric, a histogram gives you an overview of the values present in the current Scene. The slider(s) allows you to set value(s) for your filter. When you are satisfied, you use the toggle to apply the filter.

filtering histogram

You can create as many filters as you like, they remain in the Filter drawer until you delete them. When you have multiple filters, they are collapsed in the drawer and you click on them to expand them and see their details.

Filtering on temporal properties

If your data contains temporal values, either on nodes or relationships, you can filter on these properties. Bloom’s support of temporal value types is aligned with the types supported in Neo4j. For more information, see the Cypher Manual → Temporal (Date/Time) values.

Timezones are supported for both Time and DateTime values. You can configure your filter to use local time, ignoring any timezones, or to normalize to one time zone. If you check the box Translate timezones to, you can select which timezone you want to use as your normal, based on your region. (Note that Z indicates Zulu timezone, ie. GMT, time offset +00:00.)

timezones

Editing in Bloom

If you have the required write permissions to your graph database, you can edit your graph data in Bloom. You can edit labels and properties as well as create new nodes and relationships directly from your scene. For more information, see Edit graph data.