setDefaultNodeWidth,RCyjs-method {RCyjs} | R Documentation

## setDefaultNodeWidth

### Description

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

### Usage

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

### Arguments

`obj` | an RCyjs instance
`newValue` | a numeric, in pixels

### Value

no value returned

### Examples

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

[Package RCyjs version 2.14.0 Index]