Help: How do I build a network graph and implement a web app?

Hi,

I am a PhD Epidemiology student new to programming, I am quite familiar with R and I am learning python with freecodecamp.org. I want to create a network graph of noninfected and infected individuals. What I want to learn is how to create a simple app that will generate the number of edges between nodes and the number of nodes themselves. So on a web app you simply specify these numbers and the app will generate them. There is nothing like it that I can find online, could somebody help guide me in the right direction? I want to do this with python. I am using netlify to host my code so a domain isn’t an issue I think. I really appreciate any help or advice you can provide.

Hi,

Check the following Link:

https://networkx.org/documentation/stable/tutorial.html

Is that what you are looking for?
If yes you have to install networks if not already installed.

to install it enter the following instruction in the console:

pip install networkx

Hopefully it helps!

Hi Moriel,

Thank you I will try this!