Description Usage Arguments Value Examples
showAll
show any hidden objects: nodes, edges, or both
1 2 |
obj |
an RCyjs instance |
which |
a character string, either "nodes", "edges" or "both" |
no return value
1 2 3 4 5 6 7 8 | if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="rcyjs demo", graph=g)
layout(rcy, "cose")
selectNodes(rcy, getNodes(rcy)$id)
hideSelectedNodes(rcy)
showAll(rcy, "nodes")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.