def all_transitions(transition_lists):
    """
    Given a list of transition lists, combine them all into a list of unique transitions.
    """
    transitions = set()
    for trans_list in transition_lists:
        for trans in trans_list:
            transitions.add(trans)
    return sorted(transitions)