Add graph from controller