Gray categories with duals and their diagrams | Synapse