output the graph in eps/svg format