Description Usage Arguments Details Value Examples
Exports the current network view as an image
1 | exportImage(filename, type, base.url = "http://localhost:1234/v1")
|
filename |
(char) name of the image file to save |
type |
(char) type of image to export, e.g., JPEG, PDF, PNG, PostScript, SVG (case sensitive) |
base.url |
cyrest base url for communicating with cytoscape |
The image is cropped per the current view in Cytoscape.
server response
1 | exportImage('myNetwork','PDF')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.