In mathematics, a diagram algebra is an algebraic structure in which operations are performed using diagrams rather than traditional techniques. In particular, diagrammatic equations can be constructed and manipulated. Usually such algebras have a traditional counterpart which is categorically equivalent.