Web-based user interface that provides visualization of graph data stored in an AgensGraph database. It can render complex nodes, relationships, and properties in a clear and dynamic way. AGViewer helps developers, data analysts, and researchers gain deeper insights into graph data.
- Web-Based Interface: Accessible through any web browser.
- Graph Visualization: Provides interactive visualization tools for graph data.
- User-Friendly: Intuitive interface designed for ease of use.
- Real-Time Interaction: Allows for real-time data updates and interaction with graph data.
This is a sub-project of AgensGraph
- Pulling the image:
docker pull skaiworldwide/agviewer- Run the container:
docker run --name agviewer -p 3000:3000 -d skaiworldwide/agviewerThen open the URL 127.0.0.1:3000 on your browser.
Tip: if your AgensGraph server is running on your host machine or difference container, the URL to connect to it should be "host.docker.internal".
pm2 is an NPM module to run the project in production mode.
Clone the AGViewer repository to your local machine:
git clone https://github.com/skaiworldwide-oss/AGViewer.gitMove into the cloned project directory:
cd AGViewerInstall the required Node.js dependencies for the root project:
npm installNavigate into the frontend folder and install its dependencies:
cd frontend
npm installIf you encounter dependency errors during installation, try reinstalling Node.js and use the following command:
npm install --legacy-peer-depsThis command forces npm to ignore strict peer dependency checks and install all required packages.
Install backend dependencies:
cd backend
npm install- Return to the project root directory:
cd ..- Start the application:
npm run start- Open your browser and navigate to: http://localhost:3000
For AGViewer to function correctly, ensure that AgensGraph is running on your system.
Refer to this guide for help with setting up AgensGraph:
Setting up AgensGraph and AGViewer with Docker
- If you face errors during
npm install, reinstall Node.js, delete node_modules and package-lock.json
npm install --legacy-peer-deps-
Ensure that AgensGraph is running and accessible before starting AGViewer.
-
Make sure no other application is using port 3000.
- Run this inside app folder
yarn install- Run this for the application to launch
yarn run bundle:testComprehensive documentation is available to help you get started with AGViewer and make the most of its features.