A simple visualiser for the semantic tree produced by the speech-rule-engine for MathML elements.
Install with
npm install sre-visualiser
Use by loading index.html
in a browser.
Load visualise.html into a browser and load a sample from the samples directory, e.g.,
samples/quad.json
for the quadratic equation. This currently only works via a URL, i.e., not locally from files.
For left-right trees, change the direction
option to left-right
.
Play with the visualiser online on github pages.