def dot(src, **kw):
cmd = "<STR_LIT>" % kw.pop('<STR_LIT:T>', '<STR_LIT>')<EOL>for k, v in list(kw.items()):<EOL><INDENT>if v is True:<EOL><INDENT>cmd += "<STR_LIT>" % k<EOL><DEDENT>else:<EOL><INDENT>cmd += "<STR_LIT>" % (k, v)<EOL><DEDENT><DEDENT>return pipe(cmd, to_bytes(src))<EOL>
Execute the dot command to create an svg output.