sre-visualiser

0.5.0 • Public • Published

Semantic Tree Visualiser

A simple visualiser for the semantic tree produced by the speech-rule-engine for MathML elements.

Install

Install with

npm install sre-visualiser

Use by loading index.html in a browser.

Run

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.

Test

Play with the visualiser online on github pages.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i sre-visualiser

    Weekly Downloads

    6

    Version

    0.5.0

    License

    Apache-2.0

    Unpacked Size

    32.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • zorkow