# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('getAllEdges.test', graph=makeSimpleGraph())
displayGraph (cw)
print (getAllEdges (cw))
# [1] "A (phosphorylates) B" "B (synthetic lethal) C" "C (undefined) A"
Run the code above in your browser using DataLab