Skip to content

Commit

Permalink
Create explorer-console.md (#1080)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Feb 10, 2022
1 parent 399af9e commit 571eec8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs-2.0/nebula-explorer/explorer-console.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Explorer console

Explorer console allows you to enter nGQL statements and import the query results into Explorer's canvas.

!!! note

Ensure that you have selected a target graph space before using the Explorer console.

## Enter nGQL statements

1. In the left-side navigation bar, click ![console_input](figs/nav-console.png).
2. In the input box of the console page, enter nGQL statements. For more information, see [nGQL cheatsheet](../2.quick-start/6.cheatsheet-for-ngql-command.md).
3. Click the execution icon ![run](figs/console_run.png).
4. (Optional) Click ![history](figs/console_history.png) to view commands executed before.
5. (Optional) Click ![clear](figs/console_delete.png) to clear the current statement in the input box.

## nGQL statement result display

In the lower area of the console page, the query results of the executed statements are displayed.

The results are displayed in the form of a table. You can click **Export CSV File** to store the data displayed in the table to your local drive.

The time taken to execute the statement in seconds (s) is displayed at the bottom of the table.

## Import nGQL statement results to canvas

The query results can be imported to the canvas. Click **View Subgraphs**:

- **Insert After Clear**: Clears the data on the canvas and imports the data of the query results into the canvas.
- **Incremental Insertion**: Adds the data of the query results to the canvas based on the original data on the canvas. The same data will be overwritten.


0 comments on commit 571eec8

Please sign in to comment.