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