Added graph type as command line argument.