Created
November 21, 2019 18:26
-
-
Save Pamplemousse/40b245bb04bcda1fa3f3587b79a732fd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import os | |
from networkx.drawing.nx_agraph import write_dot | |
write_dot(netowrkx_graph, 'graph.dot') | |
os.system('dot -Ksfdp -Tsvg -o graph.svg graph.dot') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment