Skip to content

Instantly share code, notes, and snippets.

@BrianLitwin
Created March 19, 2019 21:31
Show Gist options
  • Save BrianLitwin/151077f7c1f7ac8d56f3ac86fcdde6a3 to your computer and use it in GitHub Desktop.
Save BrianLitwin/151077f7c1f7ac8d56f3ac86fcdde6a3 to your computer and use it in GitHub Desktop.
g.add_node('src')
g.add_node('dst')
g.add_edge('src', 'dst')
g.add_edge('src', 'dst')
g.add_node('loop')
g.add_edge('loop', 'loop')
g.add_node('isolated')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment