Skip to content

Instantly share code, notes, and snippets.

@rpietro
Created July 22, 2013 23:54
Show Gist options
  • Save rpietro/6058722 to your computer and use it in GitHub Desktop.
Save rpietro/6058722 to your computer and use it in GitHub Desktop.
Dot language template with commonly used syntax
digraph foo {
//rankdir=LR;
//overlap = scale
//splines = TRUE
//subgraph design {
// rank = same; qualitative; quantitative;
//}
//setting layout
//edge [
// arrowhead="none"
//]
//hi [label = "heyhi"]
//size ="4,4";
//node7 [shape=box];
//node -> node4 [weight=8];
//node -> node3 [style=dotted];
//node -> { make_string; printf}
//edge [color=red, style=filled];
//node -> node2 [style=bold,label="100 times"];
//node [shape=box,style=filled,color=".7 .3 1.0"]; //shape: ellipse, circle, record, plaintext
//node6 [ pos = "0,0!" ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment