Adapt simple graph to the renaming of Subcategory to HasSubcategory