hey, i just created this issue such that we can keep track of our work because our tasks are somehow related now. i made some changes to the graph to coded and now i think it looks nicer. just check it out in the project and tell me your opinion.
steps to run:
- clone repo
- install requirements.txt packages using pip:
pip install -r requirements.txt
- run app.py:
- (it's better to create a virtual environment for this project and run it in the environment.)
there is one json file in the repo that the graph is being generated from that on each run as a sample.
the function for creating graph figure is in
plotFigure.py file. notice that it returns the figure object that is being used in the layout.
- add another function to
plotFigure.pyfor creating 'defense' graph figure.
- make use of it in the layout dynamically with user selection interactions.