Created
May 23, 2020 19:05
-
-
Save manekgarg/c4f86a6909218cd345d2933946387273 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pr = nx.pagerank(G) | |
# Plot the the graph again with Page Rank | |
plt.figure(figsize=(25,18)) | |
nx.draw(G, edge_color = '#ced7d9',width = 4, arrowsize = 30, node_color = c_values, font_size =8, | |
alpha = .5, with_labels= True, node_size = [10000*pr[n] for n in G.nodes()]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment