rename attribute value 'diagonal' to 'block'