Skip to content

Commit

Permalink
update explorer (#1830)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Jan 3, 2023
1 parent 6e351fe commit cfc13b1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions docs-2.0/nebula-explorer/db-management/10.create-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,11 @@ In the **Index** list, you can rebuild or delete the index.

1. In the **Graph Space List** page, find a graph space and then click its name or click **Schema** in the **Operations** column.
2. Click **View Schema** tab and click the **Refresh** button.

## Other operations

In the **Graph Space List** page, find a graph space and then perform the following operations in the **Operations** column:

- View Schema DDL: Displays schema creation statements for the graph space, including graph spaces, tags, edge types, and indexes.
- Clone Graph Space: Clone the schema of the graph space to a new graph space.
- Delete Graph pace: Delete the graph space, including the schema and all vertices and edges.
2 changes: 1 addition & 1 deletion docs-2.0/nebula-explorer/db-management/ngql-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ At the top navigation bar, click ![Template](https://docs-cdn.nebula-graph.com.c
|Template name|`test`|The name of the template.|
|Space|`basketballplayer`|The graph space to which the template applies.|
|Description|`Returns the neighbor name of the specified player`| Describes the function of the template.|
|Query template|`MATCH (v:player{name:"${name}"})--(v2:player) RETURN v2.player.name AS Name;`|nGQL template. You can select the text you want to parameterize, click **+ parameterize selected content** on the right, and set the parameter name and description. In the example, `${name}` is parameterized text. In actual use, you can fill in a name such as `Tim Duncan`.|
|Query template|`MATCH (v:player{name:"${name}"})--(v2:player) RETURN v2.player.name AS Name;`|nGQL template. You can select the text you want to parameterize, click **+ parameterize selected content** on the right, and set the parameter name and description. In the example, `${name}` is parameterized text. In actual use, you can fill in a name such as `Tim Duncan`.<br>You can add comments in a single line using `//`.|
|Input|-|Displays parameterized text content. You can edit or delete it.|

!!! note
Expand Down
8 changes: 5 additions & 3 deletions docs-2.0/nebula-explorer/deploy-connect/ex-ug-connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ To connect Explorer to NebulaGraph, follow these steps:

1. On the **Config Server** page of Explorer, configure these fields:

- **Host**: Enter the IP address and the port of the Graph service of NebulaGraph. The valid format is `IP:port`. The default port is `9669`.
- **Graphd IP address**: Enter the IP address of the Graph service of NebulaGraph. For example, `192.168.10.100`.

!!! note

- When NebulaGraph and Explorer are deployed on the same machine, you must enter the IP address of the machine, but not `127.0.0.1` or `localhost`, in the **Host** field.
- When connecting a NebulaGraph database on a new tab, The new session will overwrite the sessions of the old TAB. If you need to log in to multiple NebulaGraph databases at the same time, you can use different browsers or non-trace mode.
- When NebulaGraph and Explorer are deployed on the same machine, you must enter the IP address of the machine, but not `127.0.0.1` or `localhost`, in the **Host** field.
- When connecting a NebulaGraph database on a new tab, The new session will overwrite the sessions of the old TAB. If you need to log in to multiple NebulaGraph databases at the same time, you can use different browsers or non-trace mode.

- **Port**: The port of the Graph service. The default port is `9669`.

- **Username** and **Password**: Fill in the log in account according to the [authentication settings](../../7.data-security/1.authentication/1.authentication.md) of NebulaGraph.

Expand Down

0 comments on commit cfc13b1

Please sign in to comment.