getViewCoordinates: getViewCoordinates

Description Usage Arguments Value Author(s) See Also Examples

Description

This method returns the four numbers (top.x, top.y, bottom.x, bottom.y) which implicitly specify the bounds of the current window.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

A named list of fou numbers, with these names: top.x, top.y, bottom.x, bottom.y

Author(s)

Paul Shannon

See Also

getViewCoordinates getZoom setZoom

Examples

1
2
3
4
5
6
  window.title = 'getViewCoordinates demo'
  cw <- new.CytoscapeWindow (window.title, graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  print (getViewCoordinates (cw))


Search within the RCytoscape package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.