NetworkX tutorial · 2020. 10. 13. · NetworkX tutorial EECS 4414 Information Networks Tilemachos...
Transcript of NetworkX tutorial · 2020. 10. 13. · NetworkX tutorial EECS 4414 Information Networks Tilemachos...
1
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth level
NetworkX tutorial
EECS 4414 Information Networks
Tilemachos Pechlivanoglou
2
Basic Example
3
Installation
4
Graph types
5
Graph types
6
Adding nodes
7
Adding edges
8
Node attributes
9
Edge attributes
10
Simple properties
11
Neighbors
12
Degree
13
Simple graph generators
14
Random graph generators
15
Useful functions
16
Plotting with matplotlib
17
Showing plots
Instead of saving the figure, simply show it with:
Won’t work in Linux Subsystem for Windows!
Instead, copy your files to a Windows folder (/mnt/c/Users/…)and run it with python from inside Windows (cmd/PowerShell)
18
Resources
19
Click to edit Master text styles
Second level
Third level
Fourth level
Fifth levelSlides based on NetworkX Tutorial by Evan Rosen
Thanks