This repository can be deployed as a web app via Streamlit.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
streamlit run app.py- The web app exposes three modules: Network generation (RHBM), Epidemic model, and Opinion dynamics.
- Network generation uses the RHBM scripts under
network/geometric_block_model/src/rhbm/viasubprocess. - For the epidemic and opinion modules, you may upload
nodes.txtandedges.txtdirectly from the sidebar.