Add parameter to save the type of graph in the Questions.