'The ranks are normalized by setting the least rank to zero.'

def normalize(self):

    least_rank = min(map((lambda x: x['x']), self.result.values()))
    if (least_rank != 0):
        for node in self.result:
            self.result[node]['x'] -= least_rank
