SPUG: Programming diagramming software

Adam Monsen haircut at gmail.com
Tue Jul 22 22:58:21 PDT 2008

On Tue, Jul 22, 2008 at 10:47 PM, Adam Monsen wrote:
> I'd try graphviz... it's pretty dang cool, programmer-friendly, and I
> believe it can do flowcharty-type stuff.

Here's a great example of a flowchart done in dot notation (from here:
http://tinyurl.com/5bgrd2 )

  digraph G {
    {node[shape=box] process1 process2 process3}
    {node[shape=diamond] decision1}
    start -> process1 -> decision1
    process2 -> process3 -> end
    decision1 -> process3 [label=n]
    decision1 -> process2 [label=y]

output: http://img59.imageshack.us/my.php?image=outhm3.png

command line used:

  dot -Tpng < in.dot > out.png

On Ubuntu, "sudo apt-get install graphviz" provides the "dot" program.

Adam Monsen

More information about the spug-list mailing list