Definition 1.1.4. A commutative square of functors, often displayed by means of a diagram
consists of four functors \(f\), \(g\), \(h\) and \(f'\) with sources and targets as displayed in the diagram, together with a specified identification \(\alpha\colon h \circ f = f' \circ g\).
We will often refer to the data of just the four functors \(f\), \(g\), \(h\) and \(f'\) as a square, and say that the square commutes whenever an identification \(\alpha\colon h \circ f = f' \circ g\) can be provided.
A commutative triangle of functors, displayed by means of a diagram
consists of three functors \(f\), \(g\) and \(h\) with sources and targets as displayed in the diagram, together with a specified identification \(\alpha\colon h = g \circ f\).
We will similarly display more general diagrams of functors by drawing directed planar graphs with vertices labeled by categories and edges labeled by functors. We consider diagrams whose faces are bounded by two directed paths with the same source and target, and fix a parenthesization for each composite. We say the diagram commutes if every face comes equipped with an identification between these two composites.