Skip to content

Commit 876f90e

Browse files
Simran-Bnerpaula
andauthored
Graph visualizer: Dismiss nodes (#740)
* Graph visualizer: Dismiss nodes * Finalize --------- Co-authored-by: Paula Mihu <[email protected]>
1 parent 61455aa commit 876f90e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

site/content/3.13/graphs/graph-visualizer.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ The main area of the viewport may initially be empty in the following cases:
5757

5858
You can [Add nodes to the canvas manually](#add-nodes-to-the-canvas-manually)
5959
as well as [Add nodes and edges using a query](#add-nodes-and-edges-using-a-query).
60-
Afterwards, you can also [Add nodes and edges using a query based on a selection](#add-nodes-and-edges-using-a-query-based-on-a-selection).
60+
Afterwards, you can also [Add nodes and edges using a query based on a selection](#add-nodes-and-edges-using-a-query-based-on-a-selection)
61+
as well as [Remove nodes from the canvas](#remove-nodes-from-the-canvas).
6162

6263
### The viewport
6364

@@ -153,6 +154,22 @@ The query has access to the current selection via special bind variables.
153154
```
154155
7. Enter a name and optionally a description for the action and click **Save**.
155156

157+
### Remove nodes from the canvas
158+
159+
You can dismiss nodes to show less nodes and edges on the canvas to focus on the
160+
relevant parts of the graph at a given time. This only changes what is displayed
161+
on the canvas. It doesn't delete the underlying documents and you can add the
162+
dismissed nodes and their edges back to the canvas later on.
163+
164+
1. Decide which nodes you want to either dismiss or keep. You can select nodes
165+
in different ways:
166+
- Right-click a single node to select only this node.
167+
- Hold the **Shift** or **Ctrl** key and click multiple nodes or drag the
168+
mouse to perform a box selection, then right-click one of the selected nodes.
169+
2. In the context menu, click **Dismiss _n_ nodes** to hide the selected nodes,
170+
or click **Dismiss other nodes** to only keep the selection.
171+
3. The canvas updates to only display the remaining nodes, with no dangling edges.
172+
156173
### View node and edge properties
157174

158175
You can inspect the document attributes of node or edge as follows:

0 commit comments

Comments
 (0)