Change style of diagrams