Modify the graph input and add evaluate