Added saving the graph to the file system.