set valid values for graph_type
handle --input-fields for add_graphs