import itertools


def get_all_combinations(elements):
    """ get all combinations for a venn diagram from a list of elements"""
    result = []
    n = len(elements)
    for i in range(n):
        idx = n - i
        result.append(list(set(itertools.combinations(elements, idx))))
    return result