Skip to content

3D visualization tool for the sparsified nested dissection algorithm.

License

Notifications You must be signed in to change notification settings

tsonthalia/spaND-Vis

Repository files navigation

spaND Visualization Tool

Description

This visualization tool helps understand sparsified nested dissection in 3 dimensions.

Scatter Plot Image Line Plot Image


Table of Contents

  1. Setup Instructions
  2. Adding Custom Data
  3. Run Program with NPM
  4. Run Program with Firebase
  5. Deploy Program to Firebase
  6. Other Available Scripts
  7. Contributors

Setup Instructions

Dependencies:

In the project directory, run:

npm install

npm install react react-plotly.js plotly.js-gl3d-dist d3

npm install -g firebase-tools

firebase login


Adding Custom Data (optional)

Go to public/data and create a new folder.

Add the new data into the new folder. Remember, the following 4 files should be present:

  • clustering3d.csv
  • coordinates.csv
  • adjacency.csv
  • clusters3d.txt
  • merging3d.txt
  • stats3d.txt

After this is complete, open up src/App.js and look for the first occurence of the variable folder.

The existing value of folder should be a string. Change the value of folder todata/<new_folder_name>( e.g.folder: data/newFolder).

Run the program, and the new data will be used!


Run Program with NPM

In the project directory, run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.


Run Program with Firebase

In the project directory, run:

npm run build

firebase serve

Runs the app in production mode.
Open http://localhost:5000 to view it in the browser.


Deploy Program to Firebase

In the project directory, run:

npm run build

firebase deploy

Deploys the app in production mode.
Open spand-vis.web.app to view it in the browser


Other Available Scripts

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.


Contributors

  1. Tanay Sonthalia
  2. Bazyli Klockiewicz

This project was bootstrapped with Create React App.

About

3D visualization tool for the sparsified nested dissection algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published