def add_node_attribute(self, node, attr):
self.node_attr[node] = self.node_attr[node] + [attr]<EOL>
Add attribute to the given node.

@type  node: node
@param node: Node identifier

@type  attr: tuple
@param attr: Node attribute specified as a tuple in the form (attribute, value).