GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — Show one state machine diagram per state set by CatarinaGamboa · Pull Request #163 · liquid-java/vscode-liquidjava Conversation
|
| Before | After |
|---|---|
![]() |
![]() |
Show all:
StateMachineDTOTest (new) and StateErrorContextDTOTest cover per-state-set marking and not blaming another state set. 34 tests pass.vscode-test): all 10 tests pass.Rebased on main after #165. The screenshots are from the build after #161.
🤖 Generated with Claude Code
Sorry, something went wrong.
There was an error while loading. Please reload this page.
7e17de0 to
6ae57ef
Compare
A class with several @stateset annotations, such as ImageWriteParam, now has one diagram per state set. liquidjava/fsm returns the list from liquidjava-fsm's parseAll, and a state refinement error carries stateMachines instead of stateMachine. The verifier names each state by its name in every state set, so the error context of each diagram uses that state set's names. A state is marked invalid only if no accepted state has it, so that a call like write(), which needs a state in each state set, does not blame the state set that is already right. The error is only put on the diagrams of the state sets whose transitions have the called method. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The State Machine view stacks the diagram of each state set of a class, such as the tiling and compression states of ImageWriteParam, under the class name, each labelled with its states. A class with one state set looks as before. A state error is drawn on the diagrams of the state sets it involves, which come first, and focusing on it dims the other diagrams. The summary lists the rejected states of every state set and the allowed states each one needs. Copy Mermaid Source copies every diagram. Co-Authored-By: Claude Opus 5.5 <[email protected]>
6ae57ef to
902f4e8
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Show one state machine diagram per @StateSet
There was an error while loading. Please reload this page.