in reply to Remote SQL queries

You didn't specify which SQL client you use, but I know MySQL allows the user to 'mirror' databases. Maybe you should set something like that up. That way, you'd be able to run everything local (e.g. your queries and your GraphViz program).

HTH,
Chris