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 a category or tag, all the edges of a relationship, or to select nodes or edges that include a listed value of a property.
Use the Select Visible Nodes toolbar icon to select nodes connected to selected edges or relationships.
You can also Filter data by any numerical property, including date and time.
Selecting using Shortcuts
For selecting data on the desktop, the following keyboard and mouse shortcuts are provided.
Action | Shortcut Keys | Description | Function |
---|---|---|---|
Select all nodes | Ctrl+A | Select all nodes currently in the graph space. | Select |
Deselect all nodes | Alt+A (Option+A) or | Deselect all visible nodes. | Select |
Select a node or nodes | Left mouse click or | Select one or more nodes. | Select |
Add a node or nodes to a selection | Ctrl+Left mouse click or | Add one or more nodes to a selection. | Select |
Subtract a node or nodes | Alt+Left mouse click or | Remove one or more nodes from a selection. | Select |
Drag selection | 5+Left mouse click drag or spacebar+Left mouse click drag | Drag selected nodes and edges in the graph space. | Select |
Invert selection | I or Shift+I | Toggle to select nodes not currently selected. | Select |
Pin or Release | Ctrl+P | Toggle to pin (or release pinning) of selected nodes to a location in the graph space. | Select & Navigate |
Expand | Ctrl+X | Pull nodes connected to selected nodes from the project’s Neo4j database. | Select & Import |
Leaf Trimming | Ctrl+L | Toggle to temporarily collapse into one node (or restore) the nodes in a selection that are connected by only one edge. | Select & Hide |
Delete selection | del or backspace | Delete selected nodes and edges. | Select & Edit |
Clear graph | Ctrl+Shift+C | Remove all data from the graph space. | Edit |
Undo | Ctrl+Z | Immediately 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.
Once nodes are selected, you can use a shortcut key to drag them to a new position:
spacebar+Left mouse click drag
or
5+Left mouse click drag
Pin or Release selected nodes
Pinning locks pinned nodes to their current relative positions in the graph space. It is designed for use with the Force layout, to re-distribute nodes for a better view or grouping and give you finer control of the layout.
To pin and release one or more nodes:
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). The Pin icon displays on the node (unless the Hide Pin Icon checkbox is selected in Project>Settings).
To release, select one or more pinned nodes. The Pin icon changes to Release.
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:
On the Legend, click the Category, Tag, or Property tab to display the list of labels for that data.
For a Category or Tag, find the labeled item, and click to select all its data.
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.
Selecting Edges by Relationship
You can also use the list in the Legend to select all the edges of a given relationship.
To select edges using the Legend:
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.
Click the bubble for the relationship name to select all its edges.
Using Select Visible Nodes
Select Visible Nodes enables you to select the nodes connected to one or more selected edges or relationships. You can select specific edges in the graph space, or you can select relationships from the Legend. In either case, you can keep adding to the selection by choosing additional edges or relationships.
If no nodes are selected in the graph you can click Select Visible Nodes to select all nodes, (similar to the shortcut Ctrl+A).
To select nodes using edges or relationships:
Select one or more edges in the graph, or click the Relationship tab in the legend to display a list of relationships. You can click an item the list to select all the edges for a relationship.
Click the Select Visible Nodes icon in the context toolbar.
Any node connected to the selected relationship is selected.With the nodes still selected, if desired, repeat steps 1 and 2 to add to your selection.
Once you have the nodes you want selected, you can save the selection for further exploration. First, take a Snapshot. Then use Inverse to select all the other nodes. Now Hide, or Delete the nodes you don’t need. Take another snapshot, and Tag your selection, and export your snapshots.
When you display a table of nodes or edges, you can enter a search and then use the Select All button at the bottom of the Table panel to select the matching data.
For details, see Using Tables