docs(wardley): fix component label offset order in "Complete Example"#7769
docs(wardley): fix component label offset order in "Complete Example"#7769kimulaco wants to merge 1 commit into
Conversation
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/layout-tidy-tree
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7769 +/- ##
==========================================
- Coverage 3.26% 3.26% -0.01%
==========================================
Files 599 600 +1
Lines 60839 60850 +11
Branches 917 917
==========================================
Hits 1986 1986
- Misses 58853 58864 +11
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
📑 Summary
Fix a syntax error in the "Complete Example" section of the Wardley Maps docs. The
label [x, y]offset was placed after the source-strategy decorator(build), which the grammar does not accept.Resolves #7768
📏 Design Decisions
The
wardley.langiumComponent rule defineslabel=Label? decorator=Decorator?, meaninglabelmust precede the decorator. The fix swaps the order in the one affected line.📋 Tasks
MERMAID_RELEASE_VERSIONis used for all new features.pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.