-
Notifications
You must be signed in to change notification settings - Fork 2
Random Graphs
avivDan edited this page Jan 13, 2021
·
1 revision
fully connected graph with 10 nodes:

// how to make it work
//uncomment the create_random_graph def and add nodes=10 attribute
//should look like this
if __name__ == '__main__':
# check_runtime()
# networkX()
# build_bar_chart()
create_random_graph(nodes=10)
print("wow")
Suppose you wand a lot of nodes but less edges?, here's how
//comment out the function like last one and add attribute of Edges
if __name__ == '__main__':
# check_runtime()
# networkX()
# build_bar_chart()
create_random_graph(nodes=20, Edges=30)
print("wow")
It will look like this

Here another random graph

My Laptop have the specs of:
i5 6200u
integrated Intel graphics card - nothing
16 GB of ram 2133 MHz
and it's mat black
A0 graph from last assignment
