window.name = 'demo.deleteNodeAttribute'
cw = new.CytoscapeWindow (window.name, graph=makeSimpleGraph ())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw)
print (paste ("before: ", getNodeAttributeNames (cw)))
deleteNodeAttribute (cw, 'count')
print (paste ("after: ", getNodeAttributeNames (cw)))
Run the code above in your browser using DataLab