| setDefaultNodeWidth,RCyjs-method {RCyjs} | R Documentation |
setDefaultNodeWidth set all nodes to the same specifed width, in pixels
## S4 method for signature 'RCyjs' setDefaultNodeWidth(obj, newValue)
obj |
an RCyjs instance |
newValue |
a numeric, in pixels |
no value returned
if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="setDefaultNodesWidth", graph=g)
layout(rcy, "cose")
setDefaultNodeWidth(rcy, 80)
}