<dot >
digraph G {
    subgraph cluster_c0 {a0 -> a1 -> a2 -> a3}
    subgraph cluster_c1 {
        b0 -> b1 -> b2 -> b3;
        label="Group B";
    }
    x -> a0 [style=dotted];
    x -> b0;
    a1 -> a3 [style=bold, label="a1 to a3"];
    a3 -> a0;
    a0 [shape=box, fontname=Courier, fontsize=11];
    a1 [color=red];
    a3 [label="Label\nfor a3"];
    label="Cole's Example";
}
</dot> 
You get: (simulated)  
 | 
You get: (if installed)   
 | 
<dot map="1" size="auto" antialias="on">
digraph G {
    URL="http://foswiki.org";
    Plugins [URL="http://foswiki.org/Extensions"];
    DirectedGraphPlugin [URL="http://foswiki.org/Extensions/DirectedGraphPlugin"];
    Plugins -> DirectedGraphPlugin;
}
</dot>
You get: (simulated)  
 | 
You get: (if installed)   
 | 
You get: (simulated, antialiasing on)  
 | 
You get: (if installed, antialiasing on)   
[ps]  | 
dot input for this example, click the [dot] link located below the diagram.
You get: (simulated)  
 | 
You get: (if installed)   
[dot] [ps]  | 
[dot] link located below the diagram to view the input. Note that this example is an inline SVG with fallback to PNG
You get: (simulated)  
 | 
| 
You get: (if installed)  [dot] [png]  | 
[dot] link below the diagram to view the input.
You get: (simulated)  
 | 
You get: (if installed)   
[dot]  | 
You get: (if installed, antialiased)   
[dot] [ps]  | 
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.