code: def end_output (self, **kwargs):
          
          self.xml_endtag(u"graph")
          self.xml_endtag(u"GraphXML")
          self.xml_end_output()
          self.close_fileoutput()
docs: Finish graph output, and print end of checking info as xml
          comment.