Skip to content

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.

  1. In NebulaGraph Cloud, switch to the project you want to use, and click the name of the database to view the database details.
  2. On the left-side navigation pane of the database details page, click Query.
  3. In the upper right corner, click settings icon to open the Settings pane.
  4. 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.

  1. In NebulaGraph Cloud, switch to the project you want to use, and click the name of the database to view the database details.
  2. On the left-side navigation pane of the database details page, click Query.
  3. Input and run a GQL query that retrieves nodes and edges in the console.
  4. In the Graph window, click detail_panel_expand_icon to expand the graph details pane.
  5. In the graph details pane, highlight or grey out nodes and edges of specific types:
    • Highlight: Click the corresponding node type and edge type.
    • Grey out: Hover the mouse over the node type and edge type that you want to grey out on the canvas, then click grey-out to the right of the node type or edge type.

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.

  1. In NebulaGraph Cloud, switch to the project you want to use, and click the name of the database to view the database details.
  2. On the left-side navigation pane of the database details page, click Query.
  3. Input and run a GQL query that retrieves nodes and edges in the query console.
  4. In the Graph window, click detail_panel_expand_icon to expand the graph details pane.
  5. 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.