1.. blockdiag::
2
3   blockdiag {
4     // standard node shapes
5     box [shape = box];
6     square [shape = square];
7     roundedbox [shape = roundedbox];
8     dots [shape = dots];
9
10     circle [shape = circle];
11     ellipse [shape = ellipse];
12     diamond [shape = diamond];
13     minidiamond [shape = minidiamond];
14
15     note [shape = note];
16     mail [shape = mail];
17     cloud [shape = cloud];
18     actor [shape = actor];
19
20     beginpoint [shape = beginpoint];
21     endpoint [shape = endpoint];
22
23     box -> square -> roundedbox -> dots;
24     circle -> ellipse -> diamond -> minidiamond;
25     note -> mail -> cloud -> actor;
26     beginpoint -> endpoint;
27
28     // node shapes for flowcharts
29     condition [shape = flowchart.condition];
30     database [shape = flowchart.database];
31     terminator [shape = flowchart.terminator];
32     input [shape = flowchart.input];
33
34     loopin [shape = flowchart.loopin];
35     loopout [shape = flowchart.loopout];
36
37     condition -> database -> terminator -> input;
38     loopin -> loopout;
39   }
40