Created
September 28, 2020 22:23
-
-
Save robdmc/3f82bc492e87a1d5955e43250b32051c 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 networkx as nx | |
| G = create_graph() | |
| # Show graph in notebook | |
| A = nx.drawing.nx_agraph.to_agraph(G) | |
| A.layout('dot') | |
| graphviz.Source(A.to_string()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment