Added graph to input