I would like to have a button to save and one to restore my graph manipulated. I have tested this code but it doesn't work. Can you help me please? I would like to save and restore in differents moments of the graph.
$("#clickMe").click(function () {
var jsonBlob = new Blob([ JSON.stringify( cy.json() ) ], { type: 'application/javascript;charset=utf-8' });
saveAs( jsonBlob, 'graph.json' );
});