Select Paths and Connections To select data connected in specific ways, or select paths through graph, you can use: Right-click Select menu items to select and deselect all nodes, select nodes or edges connected in a variety of specific ways, and to add or subtract a node or edge from a current selection. Collections, to temporarily collect floating nodes, or nodes connected to another node through a single relationship into temporary collection nodes. The right-click Find Path menu item to find and select the connected nodes and edges between any two selected nodes. Trace Neighbor and Select Visible toolbar icons, to highlight and select paths a specific number of hops away from a selection of nodes. Select using the right-click Select menu The right-click Select menu lets you select or deselect all the visible data, unconnected data, and data that’s connected in particular ways. These features make it easy to select and isolate subgraphs quickly. You can: Select any of the following in one click: All Nodes or Deselect all nodes. Floating Nodes. All nodes with no connected edges. Leaf Nodes. All nodes connected through only one edge. Neighbor Nodes. Nodes connected one edge away from selected nodes. Choose again to select the nodes another hop away from the selected node. Parent Nodes. Source nodes connected through a directed edge to selected nodes. Child Nodes. Target nodes connected through a directed edge to selected nodes. Neighbor Edges. The edges connected to selected nodes. Connected Nodes. The nodes connected to selected edges. Select and Add to a current selection by holding down the Ctrl or Alt key before choosing a Select menu item. This lets you quickly select subgraphs that would otherwise be hard to isolate. Add or subtract a single node. Right-click on a single unselected node and choose Select > Add to Selection. Right-click on a single selected node and choose Select > Subtract from Selection. Collect nodes Toolbar Collect Nodes / Explode Collections icons help to simplify the graph quickly, while enabling you to work with similar, related nodes rendered in the graph as a single node. A collection groups nodes of a category which are either unconnected (floating nodes) or connected to another node through a single relationship. The collected nodes are gathered into special collection nodes rendered as four small circles inside the larger node circle. A collection node is automatically given a temporary Collection Category label that immediately appears in the Category legend when you collect nodes. The number of collection nodes of each type is listed, along with the number currently selected. The properties of a collection node are: collection. A boolean set to true. count. The number of nodes currently in the collection. label. The label on the collection node, formed by combining the count and of property values (e.g. Photos(6)). of. The category label of the nodes in the collection (e.g. Crimes). The edges of the nodes in the collection (if any) are temporarily collapsed into a single collection edge. The relationship name remains the same, but the direction is reversed. In the legend, both an edge connected to a collection and one connected to a single node are counted as one edge. However, in a Table of the edges of that relationship, a collection’s Source identifier is the label property value for the collection node, rather than an identifier of a single edge. The information window for a collection node shows the category and number of nodes in the collection, and displays a list of the collected nodes. Properties set as captions in the original collected category appear as headings in the information window. You can change the order they appear in at any time. To remove a node from the collection, click its minus icon. Create Collections A collection is created from nodes connected by the same relationship. If a node is connected to edges of more than one relationship, it can still be included in a collection. For example, we’ll collect Photo nodes connected to Location nodes through TAKEN_AT edges. The graph also includes Author nodes connected to the Photo nodes through different TAKEN_BY edges, as well as floating nodes (with no connections). To create collections: Select nodes (e.g. Photo ) using the Category list in the legend. You can select specific nodes using any method. For example, to collect only the Photo nodes connected to specific Locations, select the Location nodes, right-click and choose Select > Neighbor Nodes. If nothing is selected, all valid collections in the entire graph are created. Click Collect Nodes on the toolbar, or right-click and choose Actions > Collect Nodes. Nodes of a single category connected by zero or one edge to another node are collected into separate collection nodes and disappear rom the graph. The new collection category (e.g Collection Photos) appears in the Category legend. Edit a collection To inspect and edit a collection: Double click to select a collection node and open its information window. A list of the nodes in the collection is displayed. You can now: Click the minus (- ) icon in the information panel to remove a node from a collection. The removed node and its edge appears outside the collection. You can select removed nodes and click Collect Nodes again to add them back to the collection. Select additional nodes (for example, after pulling new data into the graph), and click Collect Nodes to add eligible nodes to your collections. Open the Table panel to review a table of collection nodes and their properties, enter a search, or click on a table row to center the graph on the node. Delete (explode) a collection To explode a collection: Select one or more collection nodes using any method, or deselect all data to explode all collections. Click Explode Collections on the toolbar, or right-click and choose Actions > Explode Nodes. All nodes in the selected collections are returned to the graph and those collection nodes are deleted. A collection category is removed when all of its collection nodes have been exploded. Select a path between two nodes with Find Path Find Path on the right-click menu selects the nodes and edges on a path between two nodes that you select. You can then use Tag to label and save the path. To find paths between more than one start and end node, use Path Finding in the Algorithm panel. To find a path between two nodes: Click to select a node, then Ctrl-click to select the second node. Right-click and choose Find Path from the menu. The nodes and edges on the path are selected. In the example, a path consisting of 7 nodes connected through six edges has been found and selected. A message displays if no path is found. To save the path, Tag the selection. Click Tag on the toolbar, or select Actions > Tag from the right-click menu. In the Manager Tags dialog, enter a descriptive name(e.g. Path1) and click Add Tag. To isolate a tagged path, click Tag in the legend, click the tag item to select it, use Inverse, and hide (or delete) the data not on the path. Optionally, save a view or snapshot of the isolated path. Select a subgraph 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 (i.e. edges) away. You can select one or more source nodes in the graph space, or use the lists in the legend to select nodes of one or more categories, or nodes with particular property values. Once a subgraph is highlighted, click the Select Visible Nodes toolbar icon to select a highlighted subgraph, then Inverse and Hide Selection or Delete 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 Ctrl+A or right-click Select > All Nodes. To isolate a subgraph using Trace Neighbor: Select one or more nodes in the graph and click the Trace Neighbor tool. A slider shows the number of connections or hops in the graph from the selected nodes. The rest of the data is dimmed (i.e. not visible). In the following graph of simulated payments, Client and Merchant nodes of interest are selected to explore paths in the graph through transactions. Use the slider to highlight the nodes and edges that number of hops from the source nodes. Click the Select Visible Nodes toolbar icon to select the highlighted graph. Save a Snapshot so you can revert if needed. Click Inverse to select all the nodes that aren’t in the subgraph. Click the Hide (or Delete) toolbar icon (or use right-click Actions > Hide to remove the inversed selection from the canvas. You can now: Explore and organize the subgraph. For example, a combined geometric Circle and Tree layout quickly reveals paths through transactions between the selected clients and enterprises. Save the subgraph, by saving a view or snapshot, or selecting and tagging the subgraph. Select the subgraph before restoring hidden data. It remains selected, and you’ll have another chance to save it.