Add labeled graph type.