setBackgroundColor: setBackgroundColor

Description Usage Arguments Value Examples

Description

setBackgroundColor of the entire cytoscape.js div

Usage

1
2
## 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

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

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