Skip to content

Instantly share code, notes, and snippets.

@pcyu16
Created August 23, 2011 08:01
Show Gist options
  • Select an option

  • Save pcyu16/1164605 to your computer and use it in GitHub Desktop.

Select an option

Save pcyu16/1164605 to your computer and use it in GitHub Desktop.
edges/clusters connections
digraph G {
compound=true;
subgraph cluster0 {
a -> b;
a -> c;
b -> d;
c -> d;
}
subgraph cluster1 {
e -> g;
e -> f;
}
b -> f [lhead=cluster1];
d -> e;
c -> g [ltail=cluster0,
lhead=cluster1];
c -> e [ltail=cluster0];
d -> h;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment