def add_annotation(self, loc, fid, loctype="relative"):

        if self.annotations_list is None:
            self.annotations_list = []

        value = {'loc': loc, 'loctype': loctype, 'f.id': fid}

        if value not in self.annotations_list:
            self.annotations_list.append({'loc': loc, 'loctype': loctype,
                                          'f.id': fid})
This method is responsible to add the
dataset/ETHPy150Open cidles/graf-python/src/graf/graphs.py/DataDesc.add_annotation