# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw = CytoscapeWindow ("demo.setDefaultEdgeSelectionColor", graph=makeSimpleGraph ())
displayGraph (cw)
layoutNetwork (cw)
setDefaultEdgeSelectionColor (cw, '#00FF00')
# redraw (cw) --> not required anymore
Run the code above in your browser using DataLab