Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9cd687a
feat(wardley): Add Wardley Maps diagram type
tractorjuice Nov 9, 2025
d5e64d2
chore: Add changeset for Wardley Maps feature
tractorjuice Nov 9, 2025
9cedb0f
feat(examples): Add Wardley Maps examples
tractorjuice Nov 9, 2025
69b9bb2
fix(examples): Correct coordinate order in Data Evolution example
tractorjuice Nov 9, 2025
7a0aad0
fix(examples): Match examples exactly to wardley.html reference
tractorjuice Nov 9, 2025
6cb2bf0
fix(examples): Add missing size specification to Data Evolution example
tractorjuice Nov 9, 2025
a98f4a5
refactor(wardley): Improve visual styling and synchronize examples
tractorjuice Nov 11, 2025
6c48706
fix(wardley): Address PR review comments - add beta suffix and versio…
tractorjuice Nov 13, 2025
fda3bf4
feat(wardley): Replace regex parser with Langium grammar-based parser
tractorjuice Nov 13, 2025
9c0801f
feat(wardley): Switch to Langium parser and update syntax for quoted …
tractorjuice Nov 13, 2025
3c20bf4
fix(wardley): Change parser import to named export
tractorjuice Nov 13, 2025
904be2f
fix(wardley): Update example metadata ID to match diagram ID (wardley…
tractorjuice Nov 13, 2025
7355ce3
docs(wardley): Clarify quoted string requirement for notes and annota…
tractorjuice Nov 13, 2025
76b9f10
wip(wardley): Update parser tests for new Langium syntax
tractorjuice Nov 13, 2025
4185c27
fix: Update Wardley Maps parser to use Langium
tractorjuice Nov 13, 2025
506ebc9
fix(wardley): Resolve TypeScript compilation errors in parser
tractorjuice Nov 13, 2025
2caa934
fix(wardley): Fix Langium parser terminal conflict with arrow operator
tractorjuice Nov 26, 2025
7619941
fix(wardley): Capture ARROW token in Link rule assignment
tractorjuice Nov 26, 2025
68c4bc3
fix(wardley): Fix Langium lexer decimal number parsing
tractorjuice Nov 26, 2025
69d664a
fix(wardley): Fix parser by removing greedy terminal shadowing
tractorjuice Nov 26, 2025
3e5375f
fix(wardley): Fix terminal precedence to support multi-word names
tractorjuice Nov 26, 2025
39c71c2
fix(wardley): Move WARDLEY_NUMBER terminal after import
tractorjuice Nov 26, 2025
391347a
fix(wardley): WARDLEY_NUMBER should only match decimals, not integers
tractorjuice Nov 26, 2025
3e7e95a
fix(wardley): Set parser.parser.yy in test beforeEach
tractorjuice Nov 26, 2025
b8c8608
fix(wardley): Handle dual-label evolution stages and evolve syntax
tractorjuice Nov 26, 2025
2ddab26
fix(wardley): Prevent NAME_WITH_SPACES from matching newlines
tractorjuice Nov 26, 2025
cb7b666
fix(wardley): Fix pipeline parent name and bidirectional flow
tractorjuice Nov 26, 2025
dd44d57
fix(wardley): Support negative label offsets and optional arrow in links
tractorjuice Nov 26, 2025
f0e729e
fix(wardley): Allow parentheses after spaces in component names
tractorjuice Nov 26, 2025
729654c
fix(wardley): Allow integer coordinates in annotations
tractorjuice Nov 26, 2025
163ddb2
chore(wardley): Remove dead code from valueConverter
tractorjuice Nov 26, 2025
c30bcaf
fix(wardley): Improve coordinate validation error message
tractorjuice Nov 26, 2025
bab0764
feat(wardley): Make area dimensions configurable
tractorjuice Nov 26, 2025
2138cb8
refactor(wardley): Remove area feature (not in OWM spec)
tractorjuice Nov 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .changeset/add-wardley-maps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
'mermaid': minor
---

Add Wardley Maps diagram type (beta)

Adds Wardley Maps as a new diagram type to Mermaid (available as `wardley-beta`). Wardley Maps are visual representations of business strategy that help map value chains and component evolution.

Features:

- Component positioning with [visibility, evolution] coordinates (OWM format)
- Anchors for users/customers
- Multiple link types: dependencies, flows, labeled links
- Evolution arrows and trend indicators
- Custom evolution stages with optional dual labels
- Custom stage widths using @boundary notation
- Pipeline components with visibility inheritance
- Annotations, notes, and visual elements
- Source strategy markers: build, buy, outsource, market
- Inertia indicators
- Theme integration

Implementation includes parser, D3.js renderer, unit tests, E2E tests, and comprehensive documentation.
5 changes: 5 additions & 0 deletions .cspell/mermaid-terms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ catmull
compositTitleSize
cose
curv
deaccelerator
Deaccelerator
deaccelerators
doublecircle
elem
elems
Expand All @@ -33,10 +36,12 @@ ranksep
rect
rects
sandboxed
sentencepiece
siebling
statediagram
substate
unfixable
Unmodelled
Viewbox
viewports
visio
Expand Down
Loading
Loading