adding graph parser to get the input in the required format