expand diagrams