Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/georgestagg/graph-curvature-webapp

A mathematical tool for calculating various notions of discrete graph curvature.
https://github.com/georgestagg/graph-curvature-webapp

Last synced: about 2 months ago
JSON representation

A mathematical tool for calculating various notions of discrete graph curvature.

Awesome Lists containing this project

README

        

# Graph Curvature Calculator

This is the front end webapp for the [Graph Curvature Calculator](https://www.mas.ncl.ac.uk/graph-curvature/), a mathematical tool for calculating various notions of discrete graph curvature. Discrete curvature is an exciting new research area with possible applications to Bayesian networks, natural language processing, quantum gravity, and more.

If you have found this software useful, please cite the following article:
* The Graph Curvature Calculator and the curvatures of cubic graphs, Experimental Mathematics, 2019 (arXiv:1712.03033 [math.CO])

## Installation Locally ##
To install the graph calculator locally, run the following commands in order.
* `git clone [email protected]:georgestagg/graph-curvature-webapp.git`
* `git clone [email protected]:georgestagg/graph-curvature-server.git`
* `cd graph-curvature-server`
* `python3 -m venv graph-curvature-venv`
* `source graph-curvature-venv/bin/activate`
* `pip install -r requirements.txt`
* Start the server: `python graph.py 8090&`
* `cd ../graph-curvature-webapp`
* Start the webapp server: `python -m SimpleHTTPServer&`

Then visit `http://localhost:8000` in your browser.

## Installation Online ##
* Place these files somewhere on the public web.
* Install the [graph-curvature-server](https://github.com/georgestagg/graph-curvature-server) and follow the instructions to start the server on a port (e.g. 8090)
* Edit the file `curvature.js` and change `localhost:8090` in the fist line to your server and port, e.g `your.hostname.edu:8090`.

## Libraries ##
The following libraries are distributed as part of this web app and are not covered by the LICENSE file.

* https://js.cytoscape.org
* https://jquery.com
* https://spin.js.org
* https://sweetalert2.github.io