Element with id="nodenumber" for the number of nodes.
This element has id="errors", initially an element for the printing of errors (hopefully you will not see anything here) which later was used to also show the balance of nodes.
This element with id="maxnodenumber" defines the maximum number of nodes of the graph. If more then the rewrite algorithm stops.
(Rewrites stop at max. 1024 nodes)
This element with id="molyoulookat" shows the mol of the graph as a list with line separator "^".
CODE:
This element with id="comments" shows the comments associated with the mol file chosen.
This element with id="svgdiv" contains the main animation.
You can use the mouse to manipulate the image and the rewrites:
- translate the whole image by pressing left click (anywhere in the element) and keeping it pressed while you drag the image
- left-click pressed and drag on any graph node moves the node with the mouse
- mouse wheel zooms in/out the image.
- mouse hover over a node which is involved into a potential rewrite makes that rewrite to happen.
The following elements show how the reduction happens. They are necessary for the programs, because some functions read from them and some others write to them.
This id="puttransformcachealt" shows the list of possible rewrites and their age (which is the max age of the elements in the rewrite pattern), before any rewrite is chosen.
before:
This id="chosentransform" shows the rewrite which was chosen:
chosen:
This "puttransformcachealtafter" is the list of possible rewrites after the chosen one was performed:
after:
This id="molexport" is the mol before the rewrite (mind that the edges are renumbered by the programs)
mol before:
This id="molexportafter" is the mol after the rewrite:
mol after: