You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(flowchart): wrap method parens in unquoted node labels (#54)
* feat(flowchart): add invalid fixture for method parens in unquoted label; test and previews\n\n- Invalid: method-parens-in-unquoted-label.mmd\n- Test: wrap label with .Error() in quotes (FL-LABEL-PARENS-UNQUOTED)\n- Regenerate previews
* fix(flowchart/validate): ensure parens-in-unquoted labels are reported even when earlier parse errors occur; do not modify fixtures; regenerate previews
* fix(flowchart/validate): avoid false positives on cylinder/parallelogram when sweeping for parens-in-unquoted; regenerate previews
* feat(flowchart): add invalid fixture for method call in unquoted label (initializeModel); previews updated\n\n- Detects and safely wraps all unquoted labels with ()\n- Safe autofix renders via mermaid-cli
* fix(flowchart/validate): scan all [ ... ] labels per line; dedupe parens-in-unquoted diagnostics; skip typed shapes\n\n- Iterate all square-bracket segments on a line (index scan)\n- Deduplicate against parser-mapped errors using line:column ranges\n- Skip parallelogram/trapezoid ([/.../], [\…\]) and cylinder/stadium-in-square cases\n- Keeps fixtures unchanged; previews regenerated in prior commit
* feat(flowchart): edge inline label brackets → encode [ ] to []; add invalid fixture; update diagnostics and autofix; regen previews