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:
- Graph and Java basics (if you prefer Java)
- Graph and Python basics (if you prefer Python)
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:
cd aerospike-graphdocker compose up -dVerify AGS is running:
docker logs aerospike-graph-serviceYou 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
.dmgfile, open it, and drag G.V() to your Applications folder. - Windows: Download the
.exeinstaller and run it. - Linux: Download the
.AppImagefile and make it executable withchmod +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.