| redraw,RCyjs-method {RCyjs} | R Documentation |
redraw re-render the graph, using the latest style rules and assignements
## S4 method for signature 'RCyjs' redraw(obj)
obj |
an RCyjs instance |
explain what the method returns
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)
}