Create your own animated network visualization by exploiting a diffusion model!
Diff2GIF is a web app that allows you to create animated network visualizations by selecting among several graph topologies and diffusion models. The app is based on NetworkX, NDlib and is built with Streamlit.
You can use the app by clicking on the Streamlit badge above. Alternatively, you can run the app locally by cloning this repository and running the following commands:
pip install -r requirements.txt
streamlit run app.py
To create your own GIF, follow these steps:
- Select a graph topology (e.g., Erdos-Renyi, Barabasi-Albert, etc.)
- Select an Epidemic/Opinion diffusion model (e.g., SIR, Deffuant, etc.)
- Select the number of iterations (i.e., the number of frames of the GIF)
- Select the duration of the GIF's frames
- Click on the "Generate GIF" button and wait for the GIF to be generated
- Download and enjoy your GIF!