Description Usage Arguments Value Author(s) See Also Examples
This method returns the zoom level of the CytoscapeWindow. A value of 1.0 typically renders the graph with an ample margin. A call to fitContent produces a zoom level of about 1.5.
1 | getZoom(obj)
|
obj |
a |
A names list, x and y.
Paul Shannon
setZoom getCenter setCenter getViewCoordinates fitContent
1 2 3 4 5 6 | window.title = 'getZoom demo'
cw <- new.CytoscapeWindow (window.title, graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
print (getZoom (cw))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.