code: def start_output (self):
          
          super(GMLLogger, self).start_output()
          if self.has_part("intro"):
              self.write_intro()
              self.writeln()
          self.writeln(u"graph [")
          self.writeln(u"  directed 1")
          self.flush()
docs: Write start of checking info as gml comment.