setBackgroundColor,RCyjs-method {RCyjs} | R Documentation

## setBackgroundColor

### Description

`setBackgroundColor` of the entire cytoscape.js div

### Usage

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

### Arguments

`obj` | an RCyjs instance
`newValue` | a character string, any valid CSS color

### Value

no return value

### Examples

    if(interactive()){
       rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
       setBackgroundColor(rcy, "lightblue")
       }

[Package RCyjs version 2.4.0 Index]