Skip to content

Instantly share code, notes, and snippets.

@praseodym
Last active August 29, 2015 14:22
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 praseodym/029738ec71634c75f7c9 to your computer and use it in GitHub Desktop.
Save praseodym/029738ec71634c75f7c9 to your computer and use it in GitHub Desktop.
Graphviz template

Compile with Graphviz.

Command line: dot -Tpdf template.gv -o template.pdf

// CH Graphviz template
strict graph G {
node [ fontname="Helvetica"];
graph [
rankdir = LR,
rank=min,
K="10cm",
fontname="Helvetica",
ratio="compress",
size="37cm,54cm!",
overlap=false,
ranksep=1.2
nodesep=0.25,
clusterMode="global",
packMode="clust",
concentrate=true
];
A -- B
A -- C
C -- D
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment