Diagram
Diagram#
- class discopy.cartesian.Diagram(inside, dom, cod, _scan=True)[source]#
Bases:
discopy.symmetric.Diagram
A cartesian diagram is a symmetric diagram with
Copy
boxes.- Parameters
inside (Layer) – The layers inside the diagram.
dom (monoidal.Ty) – The domain of the diagram, i.e. its input.
cod (monoidal.Ty) – The codomain of the diagram, i.e. its output.