Console settings¶
In the query console, you can configure the query and visualization settings. Additionally, the display style for nodes and edges can be adjusted.
Adjust query and visualization settings¶
You can configure the maximum timeout for a query and the maximum number of nodes rendered on the canvas in the console.
- In NebulaGraph Cloud, switch to the project you want to use, and click the name of the database to view the database details.
- On the left-side navigation pane of the database details page, click Query.
- In the upper right corner, click
to open the Settings pane. -
Configure the following settings:
-
Query timeout
Enter a value between 0 and 600 to set the query timeout in seconds in the field below Query. The default value is 120.
-
Node display limit
Enter a value between 300 and 10,000 to set the maximum number of nodes rendered on the canvas in the field below Visualization. The default value is 1,000.
-
Highlight or grey out nodes and edges of specific types¶
In the query console, you can highlight or grey out nodes and edges of specific types in the Graph window.
- In NebulaGraph Cloud, switch to the project you want to use, and click the name of the database to view the database details.
- On the left-side navigation pane of the database details page, click Query.
- Input and run a GQL query that retrieves nodes and edges in the console.
- In the Graph window, click
to expand the graph details pane. - In the graph details pane, highlight or grey out nodes and edges of specific types:
Adjust the display style for node types and edge types¶
If the execution result of a query contains nodes and edges, you can adjust the display style for the nodes and edges in the Graph window.
- In NebulaGraph Cloud, switch to the project you want to use, and click the name of the database to view the database details.
- On the left-side navigation pane of the database details page, click Query.
- Input and run a GQL query that retrieves nodes and edges in the query console.
- In the Graph window, click
to expand the graph details pane. -
In the graph details pane, click the circular icon to the left of the corresponding node type or edge type to adjust the following configuration parameters:
- Node type
- Color: Click the color block to change the color. You can select a color on the color palette.
- Size: You can select the size of the node displayed on the canvas.
- Icon: You can select the icon of the node displayed on the canvas.
- Edge type
- Color: Click the color block to change the color. You can select a color on the color palette.
- Size: You can select the size of the edge displayed on the canvas.
- Node type
