cw <- new.CytoscapeWindow ('setNodeAttributes.test', graph=makeSimpleGraph())
attribute.names = noa.names (cw@graph)
for (attribute.name in attribute.names)
result = setNodeAttributes (cw, attribute.name)
Run the code above in your browser using DataLab