iVis-at-Bilkent / cytoscape.js-graphml

A Cytoscape.js extension to import from and export to GraphML format
MIT License
31 stars 8 forks source link

Graphml structure is not preserved when exported #19

Open zeeshanullah opened 4 years ago

zeeshanullah commented 4 years ago

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");