On 2/26/18 20:02, Craig Ringer wrote:
> If I were maintaining the docs in a vacuum, I'd use graphviz for
> something like that, because it's a figure that does need regular
> updates and changes. And because
> the list of fun things to do in my life definitely does not include
> hand-writing SVG. Not that tweaking GraphViz .dot is fun, but it's the
> default tool for a reason.
>
> I'd be awfully tempted to generate the node-map part of the catalog
> relationship .dot file from a query, too.
I think graphviz would be a great fit for what we are discussing here.
Certainly more so then some-person-on-github's latest idea for how to
convert ASCII art into diagrams.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services