Added graph input.