def toDOT(tree, adaptor=None, treeST=DOTTreeGenerator._treeST, edgeST=DOTTreeGenerator._edgeST):

    gen = DOTTreeGenerator()
    return gen.toDOT(tree, adaptor, treeST, edgeST)
Generate DOT (graphviz) for a whole tree not just a node.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/antlr3/dottreegen.py/toDOT