add translation from scxml to dot graph