Skip to content

VisuStruct 1.0.8 — JavaScript export & browser preview

Choose a tag to compare

@code4teaching code4teaching released this 12 Apr 15:54
· 23 commits to master since this release

VisuStruct 1.0.8 — release notes

Source code generator

  • JavaScript export (brace syntax like Java); generated output starts with "use strict";.
  • celanguage in visustruct.properties: 0 = Java, 1 = Python, 2 = JavaScript.
  • Generate code dialog: Test in browser (only when JavaScript is selected): confirmation explains that free diagram lines must be valid JS; opens a temporary HTML preview in the default browser (</script> in user code is escaped).
  • Browser preview page: short hint (localized) on how to open the developer console (Safari, Firefox, Chrome, Edge).

Build

  • Maven: de.visustruct:visustruct:1.0.8, artifact visustruct-1.0.8.jar, release also ships visustruct.jar.