Cognitive processing of spatial relations in Euclidean diagrams