# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('predictTimeToDisplayGraph.test', graph=makeSimpleGraph(),
collectTimings=TRUE)
message (paste ('estimated time: ', predictTimeToDisplayGraph (cw)))
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
Run the code above in your browser using DataLab