# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setEdgeAttributes.test', graph=makeSimpleGraph())
attribute.names <- eda.names (cw@graph)
sendNodes (cw)
sendEdges (cw)
for (attribute.name in attribute.names){
setEdgeAttributes (cw, attribute.name)
}
Run the code above in your browser using DataLab