Home

Awesome

Gremlin-Visualizer

This project is to visualize the graph network corresponding to a gremlin query.

alt text

Setting Up Gremlin Visualizer

To setup gremlin visualizer, you need to have node.js and npm installed in your system.

git clone https://github.com/prabushitha/gremlin-visualizer.git
npm install
npm start
http://localhost:3000

Note - Frontend starts on port 3000 and simple Node.js server also starts on port 3001. If you need to change the ports, configure in package.json, proxy-server.js, src/constants

Setting up with Docker

You can build a Docker image of the gremlin visualizer with the included Dockerfile. This will use the current version of the master branch of the source GitHub repository. The Docker image can be built by calling the docker build command, for example:

docker build --tag=gremlin-visualizer:latest .

The image can also be downloaded from Docker hub: prabushitha/gremlin-visualizer:latest.

docker pull prabushitha/gremlin-visualizer:latest

The Docker image can then be run by calling docker run and exposing the necessary ports for communication. See Docker's documentation for more options on how to run the image.

# if you built the image yourself
docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer --network=host gremlin-visualizer:latest
# if you downloaded from Docker Hub
docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer --network=host prabushitha/gremlin-visualizer:latest

Note that --network=host is not needed if you don't run your gremlin server in the host machine.

The Docker container can be stopped by calling docker stop gremlin-visualizer.

Usage

Features

Contributors

Something Missing?

If you have new ideas to improve please create a issue and make a pull request