File size: 428 Bytes
ab4488b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import warnings

from anytree.exporter.dotexporter import DotExporter


class RenderTreeGraph(DotExporter):
    def __init__(self, *args, **kwargs):
        """Legacy. Use :any:`anytree.exporter.DotExporter` instead."""
        warnings.warn(
            ("anytree.RenderTreeGraph has moved. Use anytree.exporter.DotExporter instead"), DeprecationWarning
        )
        super(RenderTreeGraph, self).__init__(*args, **kwargs)