SQL to Graphviz