linny-r 3.0.2 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +50 -48
  3. package/package.json +1 -1
  4. package/server.js +1 -1
  5. package/static/index.html +263 -172
  6. package/static/linny-r-show-diff.css +1 -1
  7. package/static/linny-r.css +39 -11
  8. package/static/scripts/linny-r-config.js +5 -1
  9. package/static/scripts/linny-r-ctrl.js +53 -35
  10. package/static/scripts/linny-r-gui-actor-manager.js +1 -1
  11. package/static/scripts/linny-r-gui-chart-manager.js +1 -1
  12. package/static/scripts/linny-r-gui-constraint-editor.js +1 -1
  13. package/static/scripts/linny-r-gui-controller.js +9 -4
  14. package/static/scripts/linny-r-gui-dataset-manager.js +13 -6
  15. package/static/scripts/linny-r-gui-documentation-manager.js +1 -1
  16. package/static/scripts/linny-r-gui-equation-manager.js +1 -1
  17. package/static/scripts/linny-r-gui-experiment-manager.js +7 -4
  18. package/static/scripts/linny-r-gui-expression-editor.js +6 -4
  19. package/static/scripts/linny-r-gui-file-manager.js +30 -4
  20. package/static/scripts/linny-r-gui-finder.js +1 -1
  21. package/static/scripts/linny-r-gui-monitor.js +1 -7
  22. package/static/scripts/linny-r-gui-paper.js +4 -3
  23. package/static/scripts/linny-r-gui-receiver.js +3 -2
  24. package/static/scripts/linny-r-gui-sensitivity-analysis.js +1 -1
  25. package/static/scripts/linny-r-gui-undo-redo.js +1 -1
  26. package/static/scripts/linny-r-milp.js +24 -12
  27. package/static/scripts/linny-r-model.js +70 -36
  28. package/static/scripts/linny-r-show-diff.js +1 -1
  29. package/static/scripts/linny-r-utils.js +1 -1
  30. package/static/scripts/linny-r-vm.js +155 -57
  31. package/static/show-diff.html +1 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Delft University of Technology
3
+ Copyright (c) 2026 Delft University of Technology
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -23,7 +23,7 @@ These <a href="https://sysmod.tbm.tudelft.nl/linny-r/docs/?68"
23
23
  an idea of what Linny-R can do.
24
24
 
25
25
  User documentation for Linny-R is still scant. A book "Modelling and
26
- simulation with Linny-R" will be published by TU Delft OPEN by the end of 2025.
26
+ simulation with Linny-R" will be published by TU Delft OPEN in 2026.
27
27
  Meanwhile, you can consult the official user documentation site
28
28
  <a href="https://linny-r.info" target="_blank">https://linny-r.info</a>.
29
29
  Technical documentation will be developed in due time on GitHub:
@@ -35,8 +35,8 @@ Linny-R is developed as a JavaScript package, and requires that **Node.js**
35
35
  is installed on your computer. This software can be downloaded from
36
36
  <a href="https://nodejs.org" target="_blank">https://nodejs.org</a>.
37
37
  Make sure that you choose the correct installer for your computer.
38
- Linny-R is developed using the _current_ release. Presently (October 2025)
39
- this is 24.9.0.
38
+ Linny-R is developed using the _current_ release. Presently (January 2026)
39
+ this is 25.2.1.
40
40
 
41
41
  Run the installer and accept the default settings.
42
42
  There is <u>**no**</u> need to install the optional _Tools for Native Modules_.
@@ -47,7 +47,7 @@ Verify the installation by typing:
47
47
 
48
48
  ``node --version``
49
49
 
50
- The response should be the version number of Node.js, for example: v24.9.0.
50
+ The response should be the version number of Node.js, for example: v25.2.1.
51
51
 
52
52
  ## Installing Linny-R
53
53
  It is advisable to install Linny-R in a directory on your computer, **not**
@@ -78,50 +78,6 @@ and then type at the command line prompt:
78
78
  > [!IMPORTANT]
79
79
  > The spacing around the dot is essential. Type the command in lower case.
80
80
 
81
- After installation has completed, `Linny-R` should have this directory tree
82
- structure:
83
-
84
- <pre>
85
- Linny-R
86
- |
87
- +-node_modules
88
- |
89
- +-@xmldom
90
- |
91
- +-linny-r
92
- |
93
- +-static
94
- |
95
- +-fonts
96
- |
97
- +-images
98
- |
99
- +-scripts
100
- |
101
- +-sounds
102
- </pre>
103
-
104
- `Linny-R` should contain two JSON files `package.json` and `package-lock.json`
105
- that should **not** be removed, or you will have to re-install Linny-R.
106
- It should also contain the launch script. On a macOS machine, this will be
107
- the shell script `linny-r.command`, on a Windows machine the batch script
108
- `linny-r.bat`.
109
-
110
- All other software is contained in the `node_modules` directory. It comprises
111
- two Node.js packages: `@xlmdom` and `linny-r`.
112
-
113
- The `linny-r` package directory should contain this file `README.md`, the files
114
- `server.js` and `console.js` that will be run by Node.js, and the sub-directory
115
- `static`. This `static` directory should contain two HTML files:
116
-
117
- * `index.html` (the browser-based GUI)
118
- * `show-diff.html` (to display differences between two Linny-R models)
119
-
120
- It should also contain the style sheet `linny-r.css` required by the GUI.
121
-
122
- The sub-directories of `static` contain files that are served to the browser
123
- by the script `server.js` when it is running in Node.js.
124
-
125
81
  > [!IMPORTANT]
126
82
  > Unless you _really_ know what you are doing, do **not** move or rename
127
83
  > your Linny-R directory or change its contents. If for some reason Linny-R
@@ -433,6 +389,52 @@ ways.
433
389
  > The console-only version is still in development, and does not provide
434
390
  > all functions yet.
435
391
 
392
+ ## Checking your Linny-R configuration
393
+
394
+ After installation has completed, `Linny-R` should have this directory tree
395
+ structure:
396
+
397
+ <pre>
398
+ Linny-R
399
+ |
400
+ +-node_modules
401
+ |
402
+ +-@xmldom
403
+ |
404
+ +-linny-r
405
+ |
406
+ +-static
407
+ |
408
+ +-fonts
409
+ |
410
+ +-images
411
+ |
412
+ +-scripts
413
+ |
414
+ +-sounds
415
+ </pre>
416
+
417
+ `Linny-R` should contain two JSON files `package.json` and `package-lock.json`
418
+ that should **not** be removed, or you will have to re-install Linny-R.
419
+ It should also contain the launch script. On a macOS machine, this will be
420
+ the shell script `linny-r.command`, on a Windows machine the batch script
421
+ `linny-r.bat`.
422
+
423
+ All other software is contained in the `node_modules` directory. It comprises
424
+ two Node.js packages: `@xlmdom` and `linny-r`.
425
+
426
+ The `linny-r` package directory should contain this file `README.md`, the files
427
+ `server.js` and `console.js` that will be run by Node.js, and the sub-directory
428
+ `static`. This `static` directory should contain two HTML files:
429
+
430
+ * `index.html` (the browser-based GUI)
431
+ * `show-diff.html` (to display differences between two Linny-R models)
432
+
433
+ It should also contain the style sheet `linny-r.css` required by the GUI.
434
+
435
+ The sub-directories of `static` contain files that are served to the browser
436
+ by the script `server.js` when it is running in Node.js.
437
+
436
438
  ## Troubleshooting problems
437
439
 
438
440
  If during any of the steps above you encounter problems, please try to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linny-r",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "Executable graphical language with WYSIWYG editor for MILP models",
5
5
  "main": "server.js",
6
6
  "scripts": {
package/server.js CHANGED
@@ -12,7 +12,7 @@ that pass the MILP equation model to the solver, and then return the solution
12
12
  to the Linny-R "virtual machine" that is running in the browser.
13
13
  */
14
14
  /*
15
- Copyright (c) 2020-2025 Delft University of Technology
15
+ Copyright (c) 2020-2026 Delft University of Technology
16
16
 
17
17
  Permission is hereby granted, free of charge, to any person obtaining a copy
18
18
  of this software and associated documentation files (the "Software"), to deal