# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('getGraph.test', graph=makeSimpleGraph())
displayGraph (cw)
print (getGraph (cw))
Run the code above in your browser using DataLab