Exploring the cognitive process of prospective mathematics teachers in constructing a graph