Make the graph option an input directory

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>