lockNodeDimensions

Share:

Description

Select the specified nodes.

Usage

1
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

1
2
3
4
5
6
7
  cw <- new.CytoscapeWindow ('lockNodeDimensions demo', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw)
  redraw (cw)
  lockNodeDimensions (cw, FALSE)
  setNodeWidthDirect (cw, 'A', 100)
  setNodeHeightDirect (cw, 'A', 50)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.