@contextmanager<EOL><INDENT>def graph(self, **kw):<DEDENT>
self.name = kw.get('<STR_LIT:name>', '<STR_LIT>')<EOL>self.fillcolor = kw.get('<STR_LIT>', '<STR_LIT>')<EOL>self.fontcolor = kw.get('<STR_LIT>', '<STR_LIT>')<EOL>self.rankdir = kw.get('<STR_LIT>', '<STR_LIT>' if self.reverse else '<STR_LIT>')<EOL>if kw.get('<STR_LIT>', True):<EOL><INDENT>self.concentrate = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>self.concentrate = '<STR_LIT>'<EOL><DEDENT>self.dedent("""<STR_LIT>""".format(self=self))<EOL>yield<EOL>self.writeln('<STR_LIT:}>')<EOL>
Set up a graphviz graph context.