Windows download is here. I cannot find a statically linked version (all-in-one). This is a good short tutorial on how to draw flowchart. Note how common node attributes can be declared together:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
digraph {
label="How to make sure 'input' is valid";

node[shape="box", style="rounded"]
start; end;
node[shape="parallelogram", style=""]
message; input;
node[shape="diamond", style=""]
if_valid;

start -> input;
input -> if_valid;
if_valid -> message[label="no"];
if_valid -> end[label="yes"];
message -> input;

{rank=same; message input}
}

On commandline, use:

dot -Tpng -o graph.png graph.dot

For newlines in labels, you can use \n. Alternatively, literal newlines in the string is captured and regarded. Further more, \ in strings are line continuation. So for better formatting, one can write:

1
2
3
node[label="\
this is a long description
this is another line];

References