It’s based on relationships as read from foreign keys from the database combined with the metadata in directus_relations