setDefaultNodeHeight,RCyjs-method {RCyjs}R Documentation

setDefaultNodeHeight

Description

setDefaultNodeHeight set all nodes to the same specifed width, in pixels

Usage

## S4 method for signature 'RCyjs'
setDefaultNodeHeight(obj, newValue)

Arguments

obj

an RCyjs instance

newValue

a numeric, in pixels

Value

no value returned

Examples

if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="setDefaultNodeHeight", graph=g)
  layout(rcy, "cose")
  setDefaultNodeHeight(rcy, 80)
  }


[Package RCyjs version 2.4.0 Index]