Expand diagrams