Add graph type to metadata