cw <- new.CytoscapeWindow ('invertEdgeSelection demo', graph=makeSimpleGraph())
# all edges should be selected, since none were before
invertEdgeSelection (cw)
redraw (cw)
# a richer test will be to programmatically select edges, but that
# does not work yet (pshannon, 13 jan 2011)
Run the code above in your browser using DataLab