On Sun Dec 26 21:13:42 2010, ELGAARD wrote:
Show quoted text> The GraphViz producer (e.g. used via sqlt-graph) produces two boxes for
> each table - one unconnected containing the fields, and one empty in the
> dependency tree.
>
> See the attached file "example.png" for an illustration. It has been
> created by the command
>
> sqlt-graph -d MySQL -o example.png -t png example.sql
>
> It turns out this is because nodes are added with quotes surroundung the
> table name, whereas edges are added without the quotes. When asked to
> create an edge to 'foo', GraphViz does not recognize that 'foo' is the
> same node as '"foo"', so it creates a new, empty node.
>
> The attached patch solves the problem. The result after applying the
> patch can be seen in the attached file "example2.png".
>
That's awesome... except an identical patch was applied over a year ago,
and the changes were released as SQLT 0.11004, we are to 0.11007 now.
Cheers!