Skip to content

Instantly share code, notes, and snippets.

@baiyanhuang
Created November 22, 2012 06:37
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 baiyanhuang/4129699 to your computer and use it in GitHub Desktop.
Save baiyanhuang/4129699 to your computer and use it in GitHub Desktop.
graphviz dot subgraph example
digraph
{
subgraph cluster_solution
{
label="solution"
App;
foo;
baz;
}
App -> foo;
foo -> baz;
foo -> bar;
baz -> bar;
baz -> basebaz;
subgraph cluster_basebar
{
label="basebar"
trunk;
trunk51;
}
bar-> trunk;
basebaz->trunk51;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment