- This project runs on Python, please ensure you have it installed (download link here).
- Clone this repo and run
pip install -r requirements.txt
to install the necessary packages/modules.
- In
main.py
(line 6), ensure that the variableSCENARIO
=0
. - Run
main.py
:python main.py
. - The output file will appear in the
outputs
folder asgephi_output_main.csv
. - By importing this file into Gephi, you can create the animation showing how the fake news would spread in the network.
- In
main.py
(line 6), ensure that the variableSCENARIO
=1
. - Run
main.py
:python main.py
. - The output file will appear in the
outputs
folder asgephi_output_central_nodes_removed.csv
. - By importing this file into Gephi, you can create the animation showing how the fake news would spread in the network.
- In
main.py
(line 6), ensure that the variableSCENARIO
=2
. - Run
main.py
:python main.py
. - The output file will appear in the
outputs
folder asgephi_output_triadic_closure.csv
. - By importing this file into Gephi, you can create the animation showing how the fake news would spread in the network.