'digraph Perl { graph [ concentrate="1" rankdir="TB" ] node [ color="blue" shape="oval" ] edge [ color="grey" ] "$start" [ label=" $start|{ input\\ $end\\l}" shape="Mrecord" ] "$start" -> "input":"port1" "exp" [ label=" exp|{ NUM\\l| VAR\\l| VAR\\ \'=\'\\ exp\\l| exp\\ \'+\'\\ exp\\l| exp\\ \'-\'\\ exp\\l| exp\\ \'*\'\\ exp\\l| exp\\ \'/\'\\ exp\\l| \'-\'\\ exp\\l| exp\\ \'^\'\\ exp\\l| \'(\'\\ exp\\ \')\'\\l}" shape="Mrecord" ] "exp" -> "exp":"port1" "input" [ label=" input|{ (empty)\\l| input\\ line\\l}" shape="Mrecord" ] "input" -> "input":"port1" "input" -> "line":"port1" "line" [ label=" line|{ \'\\\\n\'\\l| exp\\ \'\\\\n\'\\l| error\\ \'\\\\n\'\\l}" shape="Mrecord" ] "line" -> "exp":"port1" } '