Description Usage Arguments Value Examples
setBackgroundColor
of the entire cytoscape.js div
1 2 | ## S4 method for signature 'RCyjs'
setBackgroundColor(obj, newValue)
|
obj |
an RCyjs instance |
newValue |
a character string, any valid CSS color |
no return value
1 2 3 4 | if(interactive()){
rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
setBackgroundColor(rcy, "lightblue")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.