Added Graph Input Functionality!