The graphical calculus of monoidal, braided, and pivotal categories, drawn in plain TikZ: wires for objects, boxes for morphisms, read from bottom to top.


A wire is the identity on an object; a box on a wire is a morphism from the object below to the object above.


Boxes stacked on one wire compose; boxes side by side are tensored.


The evaluation (cap) and coevaluation (cup) maps of a dual pair of objects.


A cap after a cup straightens out to the identity: the zigzag equation of a dual pair.


The braiding of two wires, its inverse, and the equation that says they cancel.


A wire with a curl, which in a ribbon category is the twist θ on that object.


A morphism with its output bent around to its input: the categorical trace, a closed loop.