I am exporting my cytoscape network to a file, so I can open it in a browser using cytoscape.js.
However, the file that the cytoscape.network.export method outputs does not contain the position of the nodes. Primarily, I was just recalculating their position using cytoscape.js, but this workaround is not working properly.
Shouldn't the cytoscape.network.export method also return the position of the nodes?
Cytoscape: 3.7.2
CyRest: v1
Java: 1.8.0_232
I am exporting my cytoscape network to a file, so I can open it in a browser using cytoscape.js.
However, the file that the
cytoscape.network.export
method outputs does not contain the position of the nodes. Primarily, I was just recalculating their position using cytoscape.js, but this workaround is not working properly.Shouldn't the
cytoscape.network.export
method also return the position of the nodes?Thanks!
Code:
cytoscape.network.export(OutputFile=saveFileName, options='cyjs')
error: returning file
what I expected :