Skip to content

Prerequisites

This tutorial builds on either the Java or Python basics tutorial. Before you begin, complete one of the following tutorials and keep your Docker environment running:

Both tutorials create the same graph data model with users, accounts, and transactions, so you can proceed with this visualization tutorial after completing either one. You will also need to install G.V() to visualize your graph data.

Required

Aerospike Graph in Docker

You must have AGS running in Docker from the Java or Python basics tutorial. If you stopped the containers, restart them:

Terminal window
cd aerospike-graph
docker compose up -d

Verify AGS is running:

Terminal window
docker logs aerospike-graph-service

You should see Warmup is complete in the output.

G.V()

G.V() is a desktop application for visualizing and querying graph databases. Download the appropriate version for your operating system from gdotv.com.

Installation:

  • macOS: Download the .dmg file, open it, and drag G.V() to your Applications folder.
  • Windows: Download the .exe installer and run it.
  • Linux: Download the .AppImage file and make it executable with chmod +x.

After installation, launch G.V() to verify it opens correctly.

Graph data loaded

Before visualizing, you need data in your graph. If you followed the Java or Python basics tutorial, the example application drops all data after running queries.

To reload the data and keep it available for visualization, you will run a data loading script in the next section.

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?