20 About the Graph Visualization Application

The Graph Visualization application is a single-page web application that works with the graph server (PGX).

The graph server can be deployed in embedded mode or in Apache Tomcat or Oracle WebLogic Server. Graph Visualization application takes PGQL queries or SQL graph queries (in case of SQL property graphs which are supported only in Oracle Database Release 23ai ) as input and renders the result visually. A rich set of client-side exploration and visualization features can reveal new insights into your graph data.

Graph Visualization application works with the graph server (PGX). It can visualize graphs that are have been loaded into the graph server (PGX) at run-time by a client application and made available through the graph.publish() API.

20.1 Embedding the Graph Visualization Library in a Web Application

You can integrate the graph visualization component in a web application to visualize graph data.

The Oracle Graph Server and Client deployment contains a JavaScript library for the Graph Visualization component in the oracle-graph-visualization-library-23.4.0.zip file.

The Graph Visualization interface in the library supports:

  • Custom vertex and edge styling based on its properties
  • Interactive actions for graph exploration
  • Tooltip with vertex and edge details
  • Automatic legend
  • Multiple graph layouts

See the Graph JavaScript API Reference for Property Graph Visualization for more information.

You can download the oracle-graph-visualization-library-23.4.0.zip file from Oracle Software Delivery Cloud and integrate the library in you web application.

See the demo application on GitHub for an example.