Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 2.43 KB

File metadata and controls

53 lines (41 loc) · 2.43 KB

Air Routes Sample

Database Query Language Data Source
Gremlin Server Gremlin Air Routes

This sample uses Gremlin Server 3.8 as the database pre-loaded with the air routes dataset and shows how to configure Graph Explorer to connect to it automatically with a default connection.

Warning

This sample is for local development and evaluation only. Do not use it as a template for a production deployment.

  • No authentication — anyone who can reach it has full access.
  • Not hardened — it is configured for convenience, not security.
  • No persistence — data is lost when the container restarts.

Run it only on a trusted local network.

Prerequisites

  • Docker installed on your machine

Running Sample

  1. Clone or download this repository
  2. Navigate to the samples/air_routes directory
    cd samples/air_routes
    
  3. Run the following command to run the Docker image
    docker compose up
    
  4. Open the browser and navigate to: http://localhost:8080/explorer

Loading the sample styles

  1. Launch the sample and open http://localhost:8080/explorer.
  2. Open Settings from the top navigation bar.
  3. Go to the Styles page.
  4. Click Load styles.
  5. Select the samples/air_routes/styles.json file from this repository on your machine.
  6. In the selective import modal, keep all five styles selected (or pick only the ones you want), then click Load selected.
  7. Return to the Graph or Schema view. Airports, countries, and continents now render with distinct shapes, colors, and icons; routes and contains edges also have distinct line styles.

Note

The browser file picker reads from your host filesystem, not the Docker container. No volume mount is needed — just ensure styles.json is available on your machine before loading it.

Once it is running, the Getting Started tutorial walks you through exploring the air routes data step by step.