graphs can be saved and loaded