during a “development environment down” at my customers site I checked how to make eyecatching figures out of entities and relationships reported from my repository.
Found http://www.graphviz.org/Documentation/dotguide.pdf which looks impressing. Prizewinning to show the code next to the rendered figure. And the example on 16 misses just a couple of connections, the erst is done in less than a page of definitions.
Just define the relations in a textfile and let the tool do the rest is a great help.