def edges(self, randomize=False):
        for n_index in self.n_indexes(randomize=randomize):
            yield n_index, self.edge(n_index)
Generate each index-edge pair for this shape.
dataset/ETHPy150Open kobejohn/polymaze/polymaze/shapes.py/_ComponentShape.edges