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