redraw,RCyjs-method {RCyjs}R Documentation

redraw

Description

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

Usage

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

Arguments

obj

an RCyjs instance

Value

explain what the method returns

Examples

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


[Package RCyjs version 2.6.0 Index]