# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setNodePosition.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw)
setNodePosition (cw, c ('A', 'B', 'C'), c (10.0, 20.0, 500), c (0.0,
100.0, 3))
Run the code above in your browser using DataLab