Attributes

Set attributes:

node["attribute_text"]="hello"
node["attribute_num"]=123

Get attributes:

c.statusInfo = node["attribute_text"]

Get attributes properties:

c.statusInfo = node.attributes.size()

Clear attributes:

node.attributes = [:]