// @BAKE dot -Tpng $@ -o $*.png digraph G { // Graph properties label = "Cluster Example"; fontsize = 20; // Cluster 1 subgraph cluster_0 { style = filled; color = lightgrey; node [style=filled, color=white]; label = "Cluster 1"; a0 -> a1 -> a2 -> a3; } // Cluster 2 subgraph cluster_1 { node [style=filled]; label = "Cluster 2"; color = blue; b0 -> b1 -> b2 -> b3; } // Connecting nodes between clusters a3 -> b0; }