What's New in v0.6.1
Released 3 June 2026
Fixed
- Syntax → Builder tab now renders the diagram. Typing lavaan syntax in the Syntax tab and clicking Builder produced a blank canvas. Root cause:
generateCanvasFromSyntax()existed but was never called on tab switch.showCanvasMode('builder')now reads the syntax textarea and invokes it before triggeringresize()→draw(). - Structural paths (
~) now draw regardless of line order. RewrotegenerateCanvasFromSyntaxto two passes: Pass 1 creates all LV + indicator nodes from=~lines; Pass 2 processes~lines with all nodes guaranteed to exist. Any label referenced in~but absent from=~is auto-created as an LV node.
Improved
- Inline comments (
# ...) are now stripped from syntax before parsing, so annotated syntax files parse cleanly. - Free-parameter prefixes (e.g.
0.5*x1,1*x2) are stripped from indicator and predictor labels during canvas generation. - Removed dead code from
showCanvasModesyntax branch.