kinimesi / cytoscape-svg

A Cytoscape.js extension to export the current graph view as an SVG.
https://kinimesi.github.io/cytoscape-svg
GNU General Public License v3.0
34 stars 5 forks source link

Export nodeHTML content #3

Closed invaders-xx closed 4 years ago

invaders-xx commented 4 years ago

Hi,

I am using the plugin cytoscape-node-html-label to display information in nodes. When I export the graph using your library I loose the content of those nodes. Is there any way to export those information ?

Many thanks in advance,

David

kinimesi commented 4 years ago

cytoscape-node-html-label doesn't add the information to the Cytoscape canvas, the information is added as HTML elements. Therefore, it isn't possible to export it with the extension which exports the canvas. Exporting it as png, or jpeg doesn't work either.