Vertices in the pair diagram are pairs of vertices from the base diagram. Vertices are linked if all matching members of the pairs are linked, and with the same label, at that. Similar definitions apply to triple diagrams and so on. The connection matrix of the pair diagram is the second moment matrix of the de Bruijn fragments.