added function to get all graph and collection classes