def write(self, filename, language='gif'):
        result = self._run_dot('-T%s' % language,
                               '-o%s' % filename)
        # Decode into unicode, if necessary.
        if language == 'cmapx' and result is not None:
            result = result.decode('utf-8')
        return (result is not None)
Disposes of the contents of an editor.
dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/Legacy/epydoc-3.0.1/epydoc/docwriter/dotgraph.py/DotGraph.write--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/code_editor.py/SourceEditor.dispose