Skip to content

Instantly share code, notes, and snippets.

@juandesant
Created June 22, 2020 15:58
Show Gist options
  • Save juandesant/c05d4f2079028686f507205547ce6058 to your computer and use it in GitHub Desktop.
Save juandesant/c05d4f2079028686f507205547ce6058 to your computer and use it in GitHub Desktop.
# http://www.graphviz.org/content/cluster
digraph G {
graph [fontname = "Handlee"];
node [fontname = "Handlee"];
edge [fontname = "Handlee"];
bgcolor=transparent;
subgraph cluster_0 {
style=filled;
color=lightcyan;
node [style=filled,color=pink];
a0 -> a1 -> a2 -> a3;
label = "*process #1*";
fontsize = 20;
}
subgraph cluster_1 {
node [style=filled];
b0 -> b1 -> b2 -> b3;
label = "*process #2*";
fontsize = 20;
color=blue
}
start -> a0;
start -> b0;
a1 -> b3;
b2 -> a3;
a3 -> a0;
a3 -> end;
b3 -> end;
start [shape=Mdiamond];
end [shape=Msquare];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment