Cell

Contents

Cell#

class discopy.drawing.grid.Cell(start, stop, label=None)[source]#

Bases: object

A cell is a pair of integers start and stop and an optional label.

Parameters:
  • start (int) – The left of the cell.

  • stop (int) – The right of the cell.

  • label (monoidal.Ty | monoidal.Box) – The label of the cell.