def getNode(self, label):
    for n in self.__nodes:
        if (n.name == label):
            return n
    return None
def getNode(self, label):
    for n in self.__nodes:
        if (n.name == label):
            return n
    return None