cw <- new.CytoscapeWindow ('setDefaultNodeColor.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
setDefaultNodeColor (cw, '#8888FF') # light blue
redraw (cw)
Run the code above in your browser using DataLab