def create_follower_filter(pre: str, succ: str, direct_follower=False, include=True) -> dict:
    """
    Create a follower filter to be used in a trace filter sequence.

    Args:
        pre:
            A string denoting the predecessor activity of the follower relation.
        succ:
            A string denoting the successor activity of the follower relation.
        direct_follower:
            A boolean denoting if the activities have to directly
            follow each other.
        include:
            A boolean denoting if the follower relation should be included
            or excluded.

    Returns:
        A list containing the activity filters.
    """
    mapping = {'Start': '__LANA_START__', 'End': '__LANA_END__'}

    return {
        'type': 'followerFilter',
        'pre': mapping.get(pre, pre),
        'succ': mapping.get(succ, succ),
        'direct': direct_follower,
        'inverted': not include
    }