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

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.