def _report_dependencies_graph(self, sect, _, _dummy):
dep_info = self.stats["<STR_LIT>"]<EOL>if not dep_info or not (<EOL>self.config.import_graph<EOL>or self.config.ext_import_graph<EOL>or self.config.int_import_graph<EOL>):<EOL><INDENT>raise EmptyReportError()<EOL><DEDENT>filename = self.config.import_graph<EOL>if filename:<EOL><INDENT>_make_graph(filename, dep_info, sect, "<STR_LIT>")<EOL><DEDENT>filename = self.config.ext_import_graph<EOL>if filename:<EOL><INDENT>_make_graph(filename, self._external_dependencies_info(), sect, "<STR_LIT>")<EOL><DEDENT>filename = self.config.int_import_graph<EOL>if filename:<EOL><INDENT>_make_graph(filename, self._internal_dependencies_info(), sect, "<STR_LIT>")<EOL><DEDENT>
write dependencies as a dot (graphviz) file