redraw: redraw

Description Usage Arguments Value Examples

Description

redraw re-render the graph, using the latest style rules and assignements

Usage

1
2
## S4 method for signature 'RCyjs'
redraw(obj)

Arguments

obj

an RCyjs instance

Value

explain what the method returns

Examples

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)
   }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.