Skip to content
Snippets Groups Projects
Commit d76b7082 authored by Jeffrey Wigger's avatar Jeffrey Wigger
Browse files

module to plot graphs

parent 708f379f
No related branches found
No related tags found
No related merge requests found
from decentralizepy.graphs import SmallWorld
import networkx as nx
import matplotlib.pyplot as plt
g = nx.read_edgelist("topos/96_regular.edges")
nx.draw(g)
plt.savefig("96_regular.png")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment