how to read diagrams