setDefaultNodeWidth: setDefaultNodeWidth

Description Usage Arguments Value Examples

Description

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

Usage

1
2
## S4 method for signature 'RCyjs'
setDefaultNodeWidth(obj, newValue)

Arguments

obj

an RCyjs instance

newValue

a numeric, in pixels

Value

no value returned

Examples

1
2
3
4
5
6
if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="setDefaultNodesWidth", graph=g)
  layout(rcy, "cose")
  setDefaultNodeWidth(rcy, 80)
  }

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.