THE ARCHITECTURE OF DIAGRAMS