write graph to dot in NetworkX:
nx.write_dot(G,'graph.dot')
than convert to svg (png doesn't work, don't know why)
dot -Tsvg graph.dot > graph.svg
tips (Software, Unix, Linux as desktop ...)
write graph to dot in NetworkX:
nx.write_dot(G,'graph.dot')
than convert to svg (png doesn't work, don't know why)
dot -Tsvg graph.dot > graph.svg
No comments:
Post a Comment