| fit,RCyjs-method {RCyjs} | R Documentation |
fit zoom in (or out) to display all nodes in the current graph
## S4 method for signature 'RCyjs' fit(obj, padding = 30)
obj |
an RCyjs instance |
padding |
numeric, in pixels |
no return value
if(interactive()){
rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
setZoom(rcy, 0.5) # zoom out
fit(rcy)
}