A dashboard for visualizing Tigergraph data using CosmoGraph
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.
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.
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 this repository:
git clone https://github.com/TigerGraph-DevLabs/TG-Cosmos-Dashboard.git
- Enter the directory:
cd TG-Cosmos-Dashboard
- Create a virtual environment
python3 -m venv venv
and activate itsource venv/bin/activate
- Install the libraries:
pip install pyTigerGraph fastapi uvicorn
- Run the server:
python main.py
- Install the package manager yarn:
brew install yarn
- Install the packages:
yarn install
- Start the dashboard:
yarn start