def draw_tree(node, child_iter=lambda n: n.children, text_str=str):
    """Support asciitree 0.2 API.

    This function solely exist to not break old code (using asciitree 0.2).
    Its use is deprecated."""
    return LeftAligned(
        traverse=Traversal(get_text=text_str, get_children=child_iter),
        draw=LegacyStyle(),
    )(node)
Support asciitree 0.2 API.

    This function solely exist to not break old code (using asciitree 0.2).
    Its use is deprecated.
bloodyAD/asciitree/__init__.py