This directory contains the JS code needed by the browser-based tool and is distinct from the standalone engine executable from outside the browser via Node. Note that this directory, after CI / CD, includes machine-generated code.
This project uses model-view-presenter with driver.js coordinating among various other components. Note that D3 is used to render the charts but vanilla JS should be preferred otherwise. D3's dispatch is not used.
There are two sources of machine generated code. First, the plastics language is written in ANTLR. There is also some preprocessor assembly of sources to integrate with both browser and Node package management. See support/make.sh for more details. Altogether, the following files are machine generated:
plastics_lang.jsvisitors.js
Other files within this directory are not machine generated.