Below are some examples of what dia2code can do. The diagrams were transformed to png images and the output was pretty-printed with GNU Enscript. There are nine files after each diagram: they represent the output of a normal run of dia2code with each of the supported languages.
You can download all the examples in a single file, here: examples.tar.gz
This page is kindly hosted by: