SAT-7 / sat

main repo for SAT server
0 stars 2 forks source link

Backend JSON Connection #10

Closed whatcoloris closed 1 year ago

whatcoloris commented 2 years ago

See branch json-parsing and the model called anatomyofamodel.html - currently looking at all the Javascript files individually to see where/how the variables are updated/updating/initialized. Also seeing "how it works" - or how all the various js libraries (JQuery, CodeMirror, Ractive, etc) are working together with the NetLogo information and Tortoise, the Javascript compiler/library that runs the code.

whatcoloris commented 2 years ago

Here's all the libraries/Javascript files we're working with: 1) JQuery (v3.6.0) 2) Chosen (https://harvesthq.github.io/chosen/) requires JQuery 3) FileSaver (https://github.com/eligrey/FileSaver.js/) 4) URI (https://medialize.github.io/URI.js/jquery-uri-plugin.html)? requires JQuery 5) MarkDown (https://gist.github.com/bcardarella/7376550) 6) Killing Mice (v1.6.5 craig.is/killing/mice) 7) Local Forage (Version 1.10.0 https://localforage.github.io/localForage) 8) HighCharts (https://www.highcharts.com/) 9) HighCharts (not sure why there are multiples) 10) HighCharts (really, totally not sure) 11) Ractive (v1.3.14 https://ractive.js.org) 12) CodeMirror (https://codemirror.net/) 13) CodeMirror 14) CodeMirror 15) CodeMirror 16) CodeMirror 17) CodeMirror 18) CodeMirror 19) Tortoise Compiler (https://github.com/NetLogo/Tortoise) 20) Tortoise 21) NetLogo Routing js 22) NetLogo File Code -- currently needs to be on the HTML page for unknown reasons 23) Window DOM 24) Module (https://github.com/NetLogo/brazier)

whatcoloris commented 2 years ago

We should be able to chuck a lot of this out the window, as most of it is for actually CREATING a model and running it in the browser, which is pretty badass, but we can do without it. Going to try to find the places where that creation functionality is built in and see about removing it. Researching each of these code chunks should help in moving toward this goal.