Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

Commit c958af3

Browse files
Web 0.8.0: VisuObject (Klassendiagramm ⇄ Java) (#169)
Claude-Session: https://claude.ai/code/session_01Ugz28SuLhbcLydch8nbzdQ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 70efed4 commit c958af3

15 files changed

Lines changed: 45 additions & 44 deletions

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is loosely inspired by Keep a Changelog.
88

99
### Added
1010

11+
- **Web 0.8.0, VisuObject:** a third world next to VisuStruct and VisuBot, for object-oriented programming from year 12 (`?visuobject`, petrol colours). On the left the Java code, on the right the class diagram, both linked: typing classes builds the diagram (attributes, methods, constructors, `static`, `abstract`, inheritance, interfaces, associations with multiplicity from attributes like `ArrayList<Hund>`); adding classes, interfaces, attributes and methods in the diagram, double-clicking to change them in UML notation (`- name: String`, `+ bark(): void`), choosing the superclass or making a class abstract writes Java at exactly that spot, method bodies and comments stay. Plan for the next stages: `docs/visuobject/PLAN.md` (#167).
1112
- **Web 0.7.0, VisuBot upload to the mBot2:** a new button “⬆ Upload” (Chrome/Edge, USB) saves the finished program on the mBot2, like uploading in mBlock. Then it drives without a cable, for example through a maze: after switching on, the screen shows “A = Start”, and button A starts the program. VisuStruct translates the structogram or Java code into MicroPython for the CyberPi in the background (case selection as if/elif, Java string concatenation with numbers). The upload frames are identical to mBlock 5's (protocol from cyberpi-uploader, MIT). New step “Driving without a cable” in VisuBot lesson 2 and in the reference.
1213
- **Web 0.6.3, elements width:** the line between the elements and the structogram can be dragged (also with the arrow keys); a double-click resets it. Narrow elements show their name small below the symbol, wide ones next to it. The width is remembered.
1314
- **Web 0.6.2, programming large:** a ⇄ button in Programming and in the structogram toolbar makes Programming the large main area and the structogram narrow; another click swaps back. Both widths can be dragged at the line between them, and the choice is remembered.

‎web/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎web/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "visustruct-web",
33
"private": true,
4-
"version": "0.7.1",
4+
"version": "0.8.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)