7.3.1 Visualizing PGQL Queries on Graphs Loaded Into the Graph Server (PGX)

To run PGQL queries on a graph loaded into the graph server (PGX), you must login to the Graph Visualization application by selecting the Graph Server advanced option in the login screen.

See Configuring the Graph Visualization Application for PGQL on Graph Server (PGX) for more information.

To run queries against a graph, select that graph. The query editor lets you write PGQL queries that can be visualized. (PGQL is the SQL-like query language supported by the Graph Visualization application.)

Note:

For graphs loaded into the graph server (PGX), the graph visualization application supports only PGQL SELECT queries. Modifying a graph using a PGQL INSERT, UPDATE or DELETE query is not supported.

Once the query is ready and the desired graph is selected, click the Run icon to execute the query. The following figure shows a query visualization identifying all edges that are directed edges from any vertex in the graph to any other vertex.

When a query is successful, the graph visualization is displayed, including nodes and their connections. You can right-click a node or connection to display tooltip information, and you can drag the nodes around.