Where?
I can't find it
--
You received this message because you are subscribed to a topic in the Google Groups "cytoscape-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cytoscape-discuss/gMhciRoZzug/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cytoscape-disc...@googlegroups.com.
To post to this group, send email to cytoscap...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-discuss.
For more options, visit https://groups.google.com/d/optout.
Export the current graph view as a PNG image in Base64 representation.
The export options.
The background colour of the image (transparent by default).
Whether to export the current viewport view (false, default) or the entire graph (true).
This value specifies a positive number that scales the size of the resultant image.
Specifies the scale automatically in combination with maxHeight such that the resultant image is no wider than maxWidth.
Specifies the scale automatically in combination with maxWidth such that the resultant image is no taller than maxHeight.
var png64 = cy.png();
// put the png data in an img tag
$('#png-eg').attr('src', png64);Sorry I'm newbie with these.
I must create a button or something like these and insert these code no?