19 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 as an 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), either preloaded when the
graph server is started, or loaded at run-time by a client application and made
available through the graph.publish()
API.
- How does the Graph Visualization Application Work
The Graph Visualization application exposes its own web interface and REST endpoint and can execute PGQL queries against the graph server (PGX) or the Oracle Database (PGQL on RDBMS). - Kerberos Enabled Authentication for the Graph Visualization Application
The Graph Visualization application can authenticate users with Kerberos authentication enabled. - Embedding the Graph Visualization Library in a Web Application
You can integrate the graph visualization component in a web application to visualize graph data.
Parent topic: Graph Visualization Application
19.1 How does the Graph Visualization Application Work
The Graph Visualization application exposes its own web interface and REST endpoint and can execute PGQL queries against the graph server (PGX) or the Oracle Database (PGQL on RDBMS).
By default, it uses PGX and therefore requires a running PGX server to function. Alternatively, you can configure Graph Visualization application to directly talk to the database via PGQL on RDBMS. Graph Visualization application does not have any UI to create graphs, it can only visualize graphs which are already loaded into PGX or Oracle Database. See REST Endpoints for the Graph Server for more information on the graph visualization REST endpoints.
See Running the Graph Visualization Application in Standalone Mode for more information on starting the Graph Visualization application.
Parent topic: About the Graph Visualization Application
19.2 Kerberos Enabled Authentication for the Graph Visualization Application
The Graph Visualization application can authenticate users with Kerberos authentication enabled.
Graph Visualization provides two different drivers to log in:
- Graph Server (PGX) Driver: To send your credentials (Kerberos ticket) to Graph Server.
- Database Driver: To send your credentials (Kerberos ticket) directly to the database.
- Prerequisite Requirements for Kerberos Authentication
- Preparing the Graph Visualization Application for Kerberos Authentication
Parent topic: About the Graph Visualization Application
19.2.1 Prerequisite Requirements for Kerberos Authentication
The system requirements for the respective PGQL drivers are as follows:
- Graph Server (PGX) Driver: See Prerequisite Requirements for enabling Kerberos authentication on the graph server (PGX).
- Database Driver:
- The database must have Kerberos authentication enabled. See Configuring Kerberos Authentication for more information.
- Both the database and the Kerberos Authentication Server need to be reachable from the host where the Graph Visualization application is running.
- The database must be prepared for graph server authentication. That is, relevant graph roles have been granted to users who will log into the Graph Visualization application.
19.2.2 Preparing the Graph Visualization Application for Kerberos Authentication
To enable Kerberos authentication for the Graph Visualization application, follow the steps shown:
19.3 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.2.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.2.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.
Parent topic: About the Graph Visualization Application