Automata Markup Language

From Educational Exercises and Activities Community Group
<automaton id="automaton1" start="node1">
  <head>
    <script type="text/javascript" src="..." />
    <script type="text/javascript">...</script>
  </head>
  <body>
    <node id="node1" onenter="function1(event);" onexit="function2(event);">
      <edge id="edge1" to="#node2" input="..." output="..." ontransition="function3(event);" />
    </node>
    <node id="node2" onenter="function4(event);" onexit="function5(event);" />
  <body>
</automaton>
var outputSymbol = [...].getAutomatonById('...').process('inputSymbol');

Related Pages

See Also