'Get the category of a node
@param node_id: the node ID
@return: the node category'

def category(self, node_id):

    node = self.nodes.get(node_id)
    if (not node):
        return None
    else:
        return node['c']
