def export(self, filename=None, format='graphviz'):
        if format != 'graphviz':
            raise 'Unsupported Export Format.'
        if filename:
            fh = open(filename, 'w')
        else:
            fh = sys.stdout
        fh.write(self.get_graphviz_source())
Export the graph in GraphViz dot language.
dataset/ETHPy150Open eBay/bayesian-belief-networks/bayesian/graph.py/UndirectedGraph.export