graph_from_inp
