cw <- new.CytoscapeWindow ('setNodeWidthDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
lockNodeDimensions (cw, 'default', FALSE)
setNodeWidthDirect (cw, 'A', 32)
redraw (cw)
Run the code above in your browser using DataLab