User Guides
Navigating and Selecting Graph Data
Selecting Graph Data

To select graph data you can:

  • Use mouse and/or keyboard hotkeys to select nodes or groups of nodes, and to add or subtract from your selection.

  • Use the Inverse (I or Shift+I) toolbar icon to switch a selection to the nodes not currently selected.

  • Use the Pin/Release (Ctrl+P) toolbar icon to pin (or release) the position of selected nodes in the graph space.

  • Use the list items in the Legend to select all nodes of one or more categories or tags, edges of a relationship, or to select nodes or edges that include one or more listed values of a property.

  • Use the Trace Neighbor and Select Visible Nodes toolbar icons to highlight and select a subgraph.

You can also Filter data by any numerical property, including date and time, latitude, or longitude.

Selecting using Shortcuts

For selecting data on the desktop, the following keyboard and mouse shortcuts are provided.

ActionShortcut KeysDescriptionFunction
Select all nodesCtrl+ASelect all nodes currently in the graph space.Select
Deselect all nodesAlt+A (Option+A) or
Double-click empty space
Deselect all visible nodes.Select
Select a node or nodesLeft mouse click or
Shift+Left mouse click drag
Select one or more nodes.Select
Add a node or nodes to a selectionCtrl+Left mouse click or
Ctrl+Left mouse click drag
Add one or more nodes to a selection.Select
Subtract a node or nodesAlt+Left mouse click or
Alt+Left mouse click drag
Remove one or more nodes from a selection.Select
Drag selectionLeft mouse click dragDrag selected nodes and edges in the graph space.Select
Invert selectionI or Shift+IToggle to select nodes not currently selected.Select
Pin or ReleaseCtrl+PToggle to pin (or release pinning) of selected nodes to a location in the graph space.Select & Navigate
ExpandCtrl+XPull nodes connected to selected nodes from the project's Neo4j database.Select & Import
Leaf TrimmingCtrl+LToggle to temporarily collapse into one node (or restore) the nodes in a selection that are connected by only one edge.Select & Hide
Delete selectiondel or backspaceDelete selected nodes and edges.Select & Edit
Clear graphCtrl+Shift+CRemove all data from the graph space.Edit
UndoCtrl+ZImmediately undo a Delete or Clear action.Edit

Using Inverse

The Inverse icon on the toolbar deselects currently selected nodes, and selects all the other visible nodes instead. It is often used along with Hide /Unhide Selection to more effectively work with a complex graph by temporarily removing and then restoring some of its data.

  • Click Inverse (I or Shift+I) to select all the nodes not in the current selection.

You can use left mouse click drag to move selected nodes in the project space.

Pin or Release selected nodes

Pinning locks selected nodes to their current relative positions in the graph space. It is designed for use with the Force layout, to provide finer control of the layout. Pinning also occurs automatically when you reposition nodes using the mouse, or apply specific geometric or geospatial layouts.

A Pin icon displays on all pinned nodes. While this can be useful, you can hide the icons using the Hide Pin Icon checkbox in Project>Settings.

To pin and release one or more nodes:

  1. Select one or more nodes and click the Pin icon on the context toolbar.

    The selected nodes will be pinned (in addition to any already pinned nodes).

  2. To release, select one or more pinned nodes. The Pin icon changes to Release.

  3. Click the Release icon to release the selected pinned nodes and return them to the default force-directed layout.

GraphXR automatically pins nodes in the following situations:

  • A single selected node that you move to a new position is automatically pinned.

  • When selecting and arranging nodes geometrically using Geometric layouts, the selected nodes become pinned to their new layout. Geometrically locked nodes remain pinned until you release (un-pin) them, or select the Force geometry, which releases all pinned nodes.

  • Nodes with geospatial coordinates that you drop onto a map using the Map panel are pinned according to their latitude/longitude coordinates and the 3D perspective you choose. Nodes pinned to a map are released when you select Hide Map.

Selecting Nodes by Category, Tag, or Property value

For the data currently visible in the graph, you can use list items in the Legend to select all nodes with any category or tag, all the edges of a relationship. You can also select any available property name to display and select one of its values.

List items display in a bubble that includes the label, the number of data points (node, edge, or value), and the number currently selected. The list is displayed in descending order of the amount of data: items with the most data appear at the top of a list.

To select nodes using the Legend:

  1. On the Legend, click the Category, Tag, or Property tab to display the list of labels for that data.

  2. For a Category or Tag, find the labeled item, and click to select all its data. Use ctrl+left click to select more than one list item.

    OR
    For a Property, select the property name from the menu. A list of the values available for that property is displayed, along with the number of entities (node or edge) having the value for that property. Click a list item to select its data. Use ctrl+left click to select more than one list item.

Selecting Edges by Relationship

You can also use the list in the Legend to select all the edges of one or more relationships.

To select edges using the Legend:

  1. On the Legend, click the Relationship tab to display the list of relationships in the graph. Relationship labels are listed below categories (or properties), if the Category (or Property) tab is also selected.

  2. Click the bubble for the relationship name to select all its edges. Use ctrl+left click to select more than one relationship. In the example below we can highlight relationships between people who live at the same address (KNOWS_LW), have a family connection (FAMILY_REL), or have communicated by phone (KNOWS_PHONE).

Select subgraphs with Trace Neighbor and Select Visible Nodes

The Trace Neighbor tool enables you to highlight subgraphs in the data. You start from selected source nodes and highlight additional connected nodes a specific number of hops (or edges) away. You can select one or more source nodes in the graph space, or use the Legend lists to select nodes of one or more categories, or nodes with particular property values.

Using the Select Visible Nodes tool you can select a highlighted subgraph for further investigation and use the Inverse and Hide Selection or Delete tools to temporarily hide or delete data not in the subgraph.

When Trace Neighbor is not invoked, Select Visible Nodes selects all nodes in the graph, similar to the shortcut Ctrl+A.

To isolate a subgraph using Trace Neighbor:

  1. Select one or more nodes in the graph. In this example, in the Property list in the Legend we select nodes with specific surname property values attached to Person nodes.

  2. Click the Trace Neighbor tool. A slider displays showing the number of connections or hops from the selected nodes that exist in the graph, and all the rest of the data is now dimmed (that is, not visible).

  3. Use the slider to highlight the nodes and edges that number of hops away from the source nodes.

  4. Click the Select Visible Nodes toolbar icon to select the highlighted nodes.

  5. Now save a Snapshot so you can revert if needed.

  6. Isolate the selected subgraph for further exploration. Click Inverse to select all the nodes that aren't in the subgraph.

  7. Click the Hide, or Delete tools to remove those nodes.

    To save the subgraph, you can Tag your selection, take another snapshot, and export your snapshot archive.