Resize diagrams