I am trying to export the graph as graphml file and save it locally. Its working. However the code structure is not preserved. Means the line breaks and indentations are not there.
This is how I am exporting:
var blob = new Blob([cy.graphml()], {type: "text/plain;charset=UTF-8"});
saveAs(blob, "testfile.graphml");
I am trying to export the graph as graphml file and save it locally. Its working. However the code structure is not preserved. Means the line breaks and indentations are not there. This is how I am exporting: