Diagram server and client transformations