Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tdavislab/Hypergraph-Vis
Code repository for "Hypergraph Visualization via a Metric Space Viewpoint and Persistence"
https://github.com/tdavislab/Hypergraph-Vis
Last synced: 1 day ago
JSON representation
Code repository for "Hypergraph Visualization via a Metric Space Viewpoint and Persistence"
- Host: GitHub
- URL: https://github.com/tdavislab/Hypergraph-Vis
- Owner: tdavislab
- Created: 2019-09-12T17:21:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T19:50:46.000Z (6 months ago)
- Last Synced: 2024-08-03T15:06:21.612Z (3 months ago)
- Language: JavaScript
- Size: 4.99 MB
- Stars: 28
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Topological Simplifications of Hypergraphs
## Overview
This is the code repository for "Topological Simplifications of Hypergraphs"![Screenshot of demo](app/static/assets/interface-new.png)
Our system runs on most modern web browsers. We tested it on Firefox and Chrome.
## Running Locally
Download or clone this repository:```bash
git clone https://github.com/architrathore/Hypergraph-Vis.git
```Then, run:
```bash
cd Hypergraph-Vis
python3 run.py
#Hit Ctrl+c to quit
```You can view the page at http://0.0.0.0:6060/ (If possible, please use Chrome).
If `python3 run.py` does not work, please try `python -m flask run`.
## Requirements
This software requires [HyperNetX(>=0.2.5)](https://pnnl.github.io/HyperNetX/build/index.html), [NetworkX](https://networkx.github.io/), and [Flask](https://flask.palletsprojects.com/en/1.1.x/) to run.If you do not have these packages installed, please use the following command to intall them.
```bash
pip install hypernetx
pip install networkx
pip install flask
pip install flask_assets
```## Importing A Hypergraph
The input data format can be CSV or TXT.
Each line of the input file should be:
```bash
hyperedge_i, vertex_i1, vertex_i2, ...
```## Exporting An Output
*(This functionality is currently available for the locally installed version, but not for the live demo.)*To export a simplified hypergraph, input the file name and click on the button "Export An Output".
You can find the output file in the folder `Hypergraph-Vis/app/static/downloads/`.
## Cite
Topological Simplifications of Hypergraphs.
Youjia Zhou, Archit Rathore, Emilie Purvine, Bei Wang.\
*IEEE Transactions on Visualization and Computer Graphics (TVCG)*, 2022. \
DOI: [10.1109/TVCG.2022.3153895](https://ieeexplore.ieee.org/document/9721603) (early access) \
[arXiv:2104.11214](https://arxiv.org/abs/2104.11214)