Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/georgestagg/graph-curvature-webapp
- Owner: georgestagg
- License: mit
- Created: 2022-04-21T09:27:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-20T08:53:28.000Z (over 2 years ago)
- Last Synced: 2024-11-05T03:24:33.638Z (3 months ago)
- Language: JavaScript
- Size: 707 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
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