save_graph function

Save a graph or graph series to disk