/TG-Cosmos-Dashboard

Dynamic GPU-Accelerated TigerGraph Data Visualization Dashboard

Primary LanguageTypeScript

Tigergraph + CosmoGraph Dashboard

A dashboard for visualizing Tigergraph data using CosmoGraph image

Cosmos

Cosmos is a WebGL Force Graph layout algorithm and rendering engine. All the computations and drawing are happening on the GPU in fragment and vertex shaders avoiding expensive memory operations. It enables real-time simulation of network graphs consisting of hundreds of thousands of nodes and edges on modern hardware.

Links

Cosmos App

Try Cosmos on CodeSandBox

Ant Design Pro

Ant Design Pro is a production-ready solution for enterprise applications as a React boilerplate. Built on the design principles developed by Ant Design, this project introduces higher level components, and a corresponding design kit to improve the user and development experience for admin interfaces.

Links

Ant Design Pro

Quick start

Note: your Node version MUST be 14 or above except 15 and 17. Check your node version using node -v. If needed, download Node using Brew (brew install node) or update Node using nvm.

Clone the Repository

  1. Clone this repository: git clone https://github.com/TigerGraph-DevLabs/TG-Cosmos-Dashboard.git
  2. Enter the directory: cd TG-Cosmos-Dashboard

Set Up the FastAPI Server

  1. Create a virtual environment python3 -m venv venv and activate it source venv/bin/activate
  2. Install the libraries: pip install pyTigerGraph fastapi uvicorn
  3. Run the server: python main.py

Run Dashboard

  1. Install the package manager yarn: brew install yarn
  2. Install the packages: yarn install
  3. Start the dashboard: yarn start