Description Usage Arguments Value Examples
redraw
re-render the graph, using the latest style rules and assignements
1 2 | ## S4 method for signature 'RCyjs'
redraw(obj)
|
obj |
an RCyjs instance |
explain what the method returns
1 2 3 4 5 6 7 8 | if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="rcyjs demo", graph=g)
layout(rcy, "cose")
fit(rcy, 100)
setNodeAttributes(rcy, "lfc", c("A", "B", "C"), c(0, 0, 0))
redraw(rcy)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.