1.open a graph from or save a graph to a json file
2.write simulated data into a json file
3.read data from a json file and check it with an opened graph