basic saving the graph data

saving to server(public) file the json data for edges and nodes;