lockNodeDimensionsR Documentation

lockNodeDimensions

Description

Select the specified nodes.

Usage

lockNodeDimensions(obj, new.state, visual.style.name='default')

Arguments

obj a CytoscapeConnectionClass object.
new.state a boolean object, TRUE or FALSE
visual.style.name a string object, naming the visual style whose 'locked' you wish to change. Defaults to 'default'

Value

None.

Author(s)

Paul Shannon

See Also

setNodeSizeDirect setNodeWidthDirect setNodeHeightDirect

Examples

  cw <- new.CytoscapeWindow ('lockNodeDimensions demo', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw)
  redraw (cw)
  lockNodeDimensions (cw, FALSE)
  setNodeWidthDirect (cw, 'A', 100)
  setNodeHeightDirect (cw, 'A', 50)