Skip to content

Code repository for "Hypergraph Visualization via a Metric Space Viewpoint and Persistence"

Notifications You must be signed in to change notification settings

brendapraggastis/Hypergraph-Vis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypergraph Visualization via a Metric Space Viewpoint: Multimodal Curation and Multiscale Simplification

Overview

This is the code repository for "Hypergraph Visualization via a Metric Space Viewpoint: Multimodal Curation and Multiscale Simplification"

Screenshot of demo

Our system runs on most modern web browsers. We tested it on Firefox and Chrome.

Live Demo

To see a live demo, go to:

https://vis-hypergraph.herokuapp.com/

Running Locally

Download or clone this repository:

git clone https://github.com/architrathore/Hypergraph-Vis.git

Then, run:

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), NetworkX, and Flask to run.

If you do not have these packages installed, please use the following command to intall them.

pip install hypernetx
pip install networkx
pip install flask

Importing A Hypergraph

The input data format can be CSV or TXT.

Each line of the input file should be:

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/.

About

Code repository for "Hypergraph Visualization via a Metric Space Viewpoint and Persistence"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 51.0%
  • JavaScript 30.8%
  • Python 10.2%
  • HTML 4.8%
  • CSS 3.2%