Skip to content

Instantly share code, notes, and snippets.

@liweinan
Last active February 28, 2017 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liweinan/fb534cae268e6a664ee4b9083466daa3 to your computer and use it in GitHub Desktop.
Save liweinan/fb534cae268e6a664ee4b9083466daa3 to your computer and use it in GitHub Desktop.
dag
digraph DAG {
rankdir=LR;
size="8,5"
node [shape = doublecircle]; start fin;
node [shape = circle];
start -> a [ label = "1" ];
start -> b [ label = "2" ];
a -> b [ label = "3" ];
b -> c [ label = "4" ];
a -> c [ label = "5" ];
c -> fin [ label = "6" ];
b -> fin [ label = "7" ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment