

def SetNodes(self, nodes, ctx, max_depth, layout_style):
    if (not _pdf_available):
        return
    filename = os.path.join(self.tmpdir, 'dot.pdf')
    ctx.to_dot(max_depth, nodes=nodes, all_contexts=False, max_depth=max_depth, rankdir=layout_style)
    self.pdf.LoadFile(filename)
    self.GetSizer().Layout()

dataset/ETHPy150Open manahl/mdf/mdf/viewer/panels/dagviewer.py DAGViewer.SetNodes/VarMisuse@48/62 `filename`->`max_depth`