fitContent: fitContent

Description Usage Arguments Value Author(s) See Also Examples

Description

Using all of the available window (the Cytoscape drawing canvas) display the current graph.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

None.

Author(s)

Paul Shannon

See Also

setZoom fitSelectedContent

Examples

1
2
3
4
5
6
7
8
  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)

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.