Description Usage Arguments Value Examples
setDefaultNodeFontColor
1 2 | ## S4 method for signature 'RCyjs'
setDefaultNodeFontColor(obj, newValue)
|
obj |
an RCyjs instance |
newValue |
any CSS color |
no value returned
1 2 3 4 5 6 | if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="setDefaultNodeColor", graph=g)
layout(rcy, "cose")
setDefaultNodeFontColor(rcy, "red")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.