| fitContent | R Documentation |
Using all of the available window (the Cytoscape drawing canvas) display the current graph.
fitContent(obj)
obj |
a CytoscapeWindowClass object. |
None.
Paul Shannon
setZoom fitSelectedContent
cw <- new.CytoscapeWindow ('fitContent.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork (cw, 'jgraph-spring')
setZoom (cw, 0.1)
fitContent (cw)
setZoom (cw, 10.0)
fitContent (cw)