Generate a graph of a PostgreSQL node tree (in SVG or PDF form, or any other form supported by graphviz)