# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
g <- makeSimpleGraph ()
print (nodes (g))
# [1] "A" "B" "C"
print (getAdjacentEdgeNames (g, 'A'))
# [1] "A (phosphorylates) B" "C (undefined) A"
Run the code above in your browser using DataLab