Convert SQL Create Statements into a Database Schema Diagram and
HTML representation
sourceforge
project page
This program can be used to produce diagrams in a XML format that is
used by Dia, which is a free diagram editor for Linux and Windows.
See the full instructions and description in the Wiki: http://sourceforge.net/apps/mediawiki/sql2diagram/index.php?title=Main_Page.