PGF backend diagrams