cw <- new.CytoscapeWindow ('layout.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw, 'jgraph-spring')
redraw (cw) # applies default vizmap (rendering) rules, plus any you
# have specified
Run the code above in your browser using DataLab