@groupby/ai-dev 0.5.10 → 0.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/teams/fhr-neowise/commands/address-pr.md +120 -0
- package/teams/fhr-neowise/commands/ready-pr.md +70 -0
- package/teams/fhr-neowise/commands/review-pr.md +111 -0
- package/teams/fhr-neowise/commands/tdd-implementation.md +86 -0
- package/teams/fhr-neowise/commands/write-plan.md +23 -0
- package/teams/fhr-neowise/commands/write-pr.md +21 -0
- package/teams/fhr-neowise/commands/write-spec.md +25 -0
- package/teams/fhr-neowise/skills/agent-routing/SKILL.md +72 -0
- package/teams/fhr-neowise/skills/code-review/SKILL.md +83 -0
- package/teams/fhr-neowise/skills/code-review/review-template.md +90 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/SKILL.md +94 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/BEST_PRACTICES.md +96 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/architecture.md +434 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/block.md +753 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/c4.md +619 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/classDiagram.md +1186 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/config-configuration.md +72 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/config-directives.md +342 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/config-layouts.md +40 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/config-math.md +96 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/config-theming.md +246 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/config-tidy-tree.md +89 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/cynefin.md +279 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/entityRelationshipDiagram.md +670 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/eventmodeling.md +475 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/examples.md +301 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/flowchart.md +2116 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/gantt.md +725 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/gitgraph.md +2138 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/ishikawa.md +66 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/kanban.md +161 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/mindmap.md +335 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/packet.md +153 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/pie.md +93 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/quadrantChart.md +267 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/radar.md +269 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/railroad.md +337 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/requirementDiagram.md +495 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/sankey.md +415 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/sequenceDiagram.md +1195 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/stateDiagram.md +670 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/timeline.md +571 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/treeView.md +321 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/treemap.md +353 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/userJourney.md +42 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/venn.md +134 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/wardley.md +732 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/xyChart.md +312 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/references/zenuml.md +474 -0
- package/teams/fhr-neowise/skills/mermaid-diagram/scripts/sync_docs.py +138 -0
- package/teams/fhr-neowise/skills/pull-request-authoring/COMPLEX.template.md +52 -0
- package/teams/fhr-neowise/skills/pull-request-authoring/NON-CODE.template.md +15 -0
- package/teams/fhr-neowise/skills/pull-request-authoring/SIMPLE.template.md +20 -0
- package/teams/fhr-neowise/skills/pull-request-authoring/SKILL.md +102 -0
- package/teams/fhr-neowise/skills/spec-investigation/SKILL.md +139 -0
- package/teams/fhr-neowise/skills/spec-investigation/TEMPLATE.spec.md +74 -0
- package/teams/fhr-neowise/skills/tdd-workflow/SKILL.md +137 -0
- package/teams/fhr-neowise/skills/write-plan/SKILL.md +285 -0
- package/teams/fhr-neowise/skills/write-plan/assets/TEMPLATE.checklist.json +79 -0
- package/teams/fhr-neowise/skills/write-plan/assets/TEMPLATE.plan.md +158 -0
|
@@ -0,0 +1,732 @@
|
|
|
1
|
+
> **Warning**
|
|
2
|
+
>
|
|
3
|
+
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
|
4
|
+
>
|
|
5
|
+
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/syntax/wardley.md](../../packages/mermaid/src/docs/syntax/wardley.md).
|
|
6
|
+
|
|
7
|
+
# Wardley Maps (v11.14.0+)
|
|
8
|
+
|
|
9
|
+
> Wardley Maps are visual representations of business strategy that map value chains and component evolution. They help identify strategic opportunities, dependencies, and guide technology decisions.
|
|
10
|
+
|
|
11
|
+
## Introduction
|
|
12
|
+
|
|
13
|
+
Wardley Maps position components along two axes:
|
|
14
|
+
|
|
15
|
+
- **Visibility** (Y-axis): How visible/valuable a component is to users (0.0 = infrastructure, 1.0 = user-facing)
|
|
16
|
+
- **Evolution** (X-axis): How evolved/mature a component is (0.0 = genesis/novel, 1.0 = commodity/utility)
|
|
17
|
+
|
|
18
|
+
This dual positioning enables strategic analysis of:
|
|
19
|
+
|
|
20
|
+
- Value chain dependencies
|
|
21
|
+
- Evolution of components over time
|
|
22
|
+
- Build vs. buy decisions
|
|
23
|
+
- Inertia and resistance to change
|
|
24
|
+
|
|
25
|
+
## Basic Example
|
|
26
|
+
|
|
27
|
+
```mermaid-example
|
|
28
|
+
wardley-beta
|
|
29
|
+
title Tea Shop Value Chain
|
|
30
|
+
|
|
31
|
+
anchor Business [0.95, 0.63]
|
|
32
|
+
component Cup of Tea [0.79, 0.61]
|
|
33
|
+
component Tea [0.63, 0.81]
|
|
34
|
+
component Hot Water [0.52, 0.80]
|
|
35
|
+
component Kettle [0.43, 0.35]
|
|
36
|
+
component Power [0.10, 0.70]
|
|
37
|
+
|
|
38
|
+
Business -> Cup of Tea
|
|
39
|
+
Cup of Tea -> Tea
|
|
40
|
+
Cup of Tea -> Hot Water
|
|
41
|
+
Hot Water -> Kettle
|
|
42
|
+
Kettle -> Power
|
|
43
|
+
|
|
44
|
+
evolve Kettle 0.62
|
|
45
|
+
evolve Power 0.89
|
|
46
|
+
|
|
47
|
+
note "Standardising power allows Kettles to evolve faster" [0.30, 0.49]
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```mermaid
|
|
51
|
+
wardley-beta
|
|
52
|
+
title Tea Shop Value Chain
|
|
53
|
+
|
|
54
|
+
anchor Business [0.95, 0.63]
|
|
55
|
+
component Cup of Tea [0.79, 0.61]
|
|
56
|
+
component Tea [0.63, 0.81]
|
|
57
|
+
component Hot Water [0.52, 0.80]
|
|
58
|
+
component Kettle [0.43, 0.35]
|
|
59
|
+
component Power [0.10, 0.70]
|
|
60
|
+
|
|
61
|
+
Business -> Cup of Tea
|
|
62
|
+
Cup of Tea -> Tea
|
|
63
|
+
Cup of Tea -> Hot Water
|
|
64
|
+
Hot Water -> Kettle
|
|
65
|
+
Kettle -> Power
|
|
66
|
+
|
|
67
|
+
evolve Kettle 0.62
|
|
68
|
+
evolve Power 0.89
|
|
69
|
+
|
|
70
|
+
note "Standardising power allows Kettles to evolve faster" [0.30, 0.49]
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Syntax
|
|
74
|
+
|
|
75
|
+
### Diagram Declaration
|
|
76
|
+
|
|
77
|
+
Every Wardley diagram starts with the `wardley-beta` keyword:
|
|
78
|
+
|
|
79
|
+
```mermaid-example
|
|
80
|
+
wardley-beta
|
|
81
|
+
title Your Map Title
|
|
82
|
+
size [1100, 600]
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
```mermaid
|
|
86
|
+
wardley-beta
|
|
87
|
+
title Your Map Title
|
|
88
|
+
size [1100, 600]
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
- `wardley-beta` - Required diagram type identifier (beta release)
|
|
92
|
+
- `title` - Optional title displayed at top
|
|
93
|
+
- `size` - Optional canvas dimensions in pixels (default: `[1100, 600]`)
|
|
94
|
+
|
|
95
|
+
### Coordinate System
|
|
96
|
+
|
|
97
|
+
**IMPORTANT**: Wardley Maps use the OnlineWardleyMaps (OWM) format: `[visibility, evolution]`
|
|
98
|
+
|
|
99
|
+
- **First value (Visibility)**: 0.0-1.0 (bottom to top) - Y-axis position
|
|
100
|
+
- **Second value (Evolution)**: 0.0-1.0 (left to right) - X-axis position
|
|
101
|
+
|
|
102
|
+
This is **opposite** of typical (x, y) notation!
|
|
103
|
+
|
|
104
|
+
```mermaid-example
|
|
105
|
+
wardley-beta
|
|
106
|
+
title Coordinate Examples
|
|
107
|
+
|
|
108
|
+
component Infrastructure [0.30, 0.20] %% Low visibility, low evolution
|
|
109
|
+
component Product [0.70, 0.60] %% High visibility, mid evolution
|
|
110
|
+
component User Need [0.90, 0.95] %% High visibility, high evolution
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
```mermaid
|
|
114
|
+
wardley-beta
|
|
115
|
+
title Coordinate Examples
|
|
116
|
+
|
|
117
|
+
component Infrastructure [0.30, 0.20] %% Low visibility, low evolution
|
|
118
|
+
component Product [0.70, 0.60] %% High visibility, mid evolution
|
|
119
|
+
component User Need [0.90, 0.95] %% High visibility, high evolution
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Components and Anchors
|
|
123
|
+
|
|
124
|
+
#### Components
|
|
125
|
+
|
|
126
|
+
```txt
|
|
127
|
+
component Name [visibility, evolution]
|
|
128
|
+
component Name [visibility, evolution] label [offsetX, offsetY]
|
|
129
|
+
component Name [visibility, evolution] (decorator)
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Example:
|
|
133
|
+
|
|
134
|
+
```mermaid-example
|
|
135
|
+
wardley-beta
|
|
136
|
+
title Components
|
|
137
|
+
|
|
138
|
+
component API [0.60, 0.70]
|
|
139
|
+
component Database [0.40, 0.85] label [-50, 10]
|
|
140
|
+
component "Custom Service" [0.55, 0.35]
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
```mermaid
|
|
144
|
+
wardley-beta
|
|
145
|
+
title Components
|
|
146
|
+
|
|
147
|
+
component API [0.60, 0.70]
|
|
148
|
+
component Database [0.40, 0.85] label [-50, 10]
|
|
149
|
+
component "Custom Service" [0.55, 0.35]
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Names may contain hyphens (`real-time processing`, `end-user`) without quoting. Quote a name only if it begins with a non-letter or contains a character the grammar does not otherwise accept.
|
|
153
|
+
|
|
154
|
+
```mermaid-example
|
|
155
|
+
wardley-beta
|
|
156
|
+
title Hyphenated Names
|
|
157
|
+
|
|
158
|
+
component real-time processing [0.55, 0.40]
|
|
159
|
+
component end-user [0.90, 0.95]
|
|
160
|
+
|
|
161
|
+
end-user -> real-time processing
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
```mermaid
|
|
165
|
+
wardley-beta
|
|
166
|
+
title Hyphenated Names
|
|
167
|
+
|
|
168
|
+
component real-time processing [0.55, 0.40]
|
|
169
|
+
component end-user [0.90, 0.95]
|
|
170
|
+
|
|
171
|
+
end-user -> real-time processing
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
#### Anchors
|
|
175
|
+
|
|
176
|
+
Anchors represent users or customers with bold labels:
|
|
177
|
+
|
|
178
|
+
```mermaid-example
|
|
179
|
+
wardley-beta
|
|
180
|
+
title Anchors
|
|
181
|
+
|
|
182
|
+
anchor Customer [0.90, 0.95]
|
|
183
|
+
anchor Business [0.85, 0.90]
|
|
184
|
+
|
|
185
|
+
component Service [0.70, 0.75]
|
|
186
|
+
|
|
187
|
+
Customer -> Service
|
|
188
|
+
Business -> Service
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
```mermaid
|
|
192
|
+
wardley-beta
|
|
193
|
+
title Anchors
|
|
194
|
+
|
|
195
|
+
anchor Customer [0.90, 0.95]
|
|
196
|
+
anchor Business [0.85, 0.90]
|
|
197
|
+
|
|
198
|
+
component Service [0.70, 0.75]
|
|
199
|
+
|
|
200
|
+
Customer -> Service
|
|
201
|
+
Business -> Service
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Decorators
|
|
205
|
+
|
|
206
|
+
#### Inertia
|
|
207
|
+
|
|
208
|
+
Mark components resistant to change:
|
|
209
|
+
|
|
210
|
+
```mermaid-example
|
|
211
|
+
wardley-beta
|
|
212
|
+
title Inertia
|
|
213
|
+
|
|
214
|
+
component Legacy System [0.45, 0.40] (inertia)
|
|
215
|
+
component New Platform [0.65, 0.45]
|
|
216
|
+
|
|
217
|
+
Legacy System -> New Platform
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
```mermaid
|
|
221
|
+
wardley-beta
|
|
222
|
+
title Inertia
|
|
223
|
+
|
|
224
|
+
component Legacy System [0.45, 0.40] (inertia)
|
|
225
|
+
component New Platform [0.65, 0.45]
|
|
226
|
+
|
|
227
|
+
Legacy System -> New Platform
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
#### Source Strategy
|
|
231
|
+
|
|
232
|
+
Indicate build/buy/outsource decisions:
|
|
233
|
+
|
|
234
|
+
- `(build)` - Triangle symbol
|
|
235
|
+
- `(buy)` - Diamond symbol
|
|
236
|
+
- `(outsource)` - Square symbol
|
|
237
|
+
- `(market)` - Circle symbol
|
|
238
|
+
|
|
239
|
+
```mermaid-example
|
|
240
|
+
wardley-beta
|
|
241
|
+
title Sourcing Strategy
|
|
242
|
+
|
|
243
|
+
anchor Customer [0.80, 0.95]
|
|
244
|
+
component Custom App [0.45, 0.85] (build)
|
|
245
|
+
component Off-the-shelf Tool [0.85, 0.65] (buy)
|
|
246
|
+
component Managed Service [0.60, 0.40] (outsource)
|
|
247
|
+
component Cloud Platform [0.95, 0.25] (market)
|
|
248
|
+
|
|
249
|
+
Customer -> Custom App
|
|
250
|
+
Custom App -> Off-the-shelf Tool
|
|
251
|
+
Custom App -> Managed Service
|
|
252
|
+
Off-the-shelf Tool -> Cloud Platform
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
```mermaid
|
|
256
|
+
wardley-beta
|
|
257
|
+
title Sourcing Strategy
|
|
258
|
+
|
|
259
|
+
anchor Customer [0.80, 0.95]
|
|
260
|
+
component Custom App [0.45, 0.85] (build)
|
|
261
|
+
component Off-the-shelf Tool [0.85, 0.65] (buy)
|
|
262
|
+
component Managed Service [0.60, 0.40] (outsource)
|
|
263
|
+
component Cloud Platform [0.95, 0.25] (market)
|
|
264
|
+
|
|
265
|
+
Customer -> Custom App
|
|
266
|
+
Custom App -> Off-the-shelf Tool
|
|
267
|
+
Custom App -> Managed Service
|
|
268
|
+
Off-the-shelf Tool -> Cloud Platform
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
### Links and Dependencies
|
|
272
|
+
|
|
273
|
+
```txt
|
|
274
|
+
A -> B %% Basic dependency
|
|
275
|
+
A --> B %% Basic dependency (alternative style)
|
|
276
|
+
A -> B; label %% With annotation
|
|
277
|
+
A -.-> B %% Dashed flow
|
|
278
|
+
A +> B %% Flow (with arrow marker)
|
|
279
|
+
A +< B %% Reverse flow
|
|
280
|
+
A +<> B %% Bi-directional flow
|
|
281
|
+
A +'text'> B %% Labeled flow
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
Example:
|
|
285
|
+
|
|
286
|
+
```mermaid-example
|
|
287
|
+
wardley-beta
|
|
288
|
+
title Link Types
|
|
289
|
+
|
|
290
|
+
component User [0.90, 0.95]
|
|
291
|
+
component App [0.75, 0.75]
|
|
292
|
+
component API [0.60, 0.60]
|
|
293
|
+
component Cache [0.65, 0.45]
|
|
294
|
+
component Database [0.15, 0.80]
|
|
295
|
+
|
|
296
|
+
User -> App
|
|
297
|
+
App +> API
|
|
298
|
+
API -> Database
|
|
299
|
+
API +<> Cache
|
|
300
|
+
Cache +'backup'> Database
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
```mermaid
|
|
304
|
+
wardley-beta
|
|
305
|
+
title Link Types
|
|
306
|
+
|
|
307
|
+
component User [0.90, 0.95]
|
|
308
|
+
component App [0.75, 0.75]
|
|
309
|
+
component API [0.60, 0.60]
|
|
310
|
+
component Cache [0.65, 0.45]
|
|
311
|
+
component Database [0.15, 0.80]
|
|
312
|
+
|
|
313
|
+
User -> App
|
|
314
|
+
App +> API
|
|
315
|
+
API -> Database
|
|
316
|
+
API +<> Cache
|
|
317
|
+
Cache +'backup'> Database
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### Evolution and Movement
|
|
321
|
+
|
|
322
|
+
#### Evolution Arrows
|
|
323
|
+
|
|
324
|
+
Show component evolution with red dashed arrows:
|
|
325
|
+
|
|
326
|
+
```mermaid-example
|
|
327
|
+
wardley-beta
|
|
328
|
+
title Evolution
|
|
329
|
+
|
|
330
|
+
component Database [0.40, 0.50]
|
|
331
|
+
component API [0.55, 0.60]
|
|
332
|
+
|
|
333
|
+
Database -> API
|
|
334
|
+
|
|
335
|
+
evolve Database 0.75
|
|
336
|
+
evolve API 0.80
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
```mermaid
|
|
340
|
+
wardley-beta
|
|
341
|
+
title Evolution
|
|
342
|
+
|
|
343
|
+
component Database [0.40, 0.50]
|
|
344
|
+
component API [0.55, 0.60]
|
|
345
|
+
|
|
346
|
+
Database -> API
|
|
347
|
+
|
|
348
|
+
evolve Database 0.75
|
|
349
|
+
evolve API 0.80
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
#### Trend Indicators
|
|
353
|
+
|
|
354
|
+
Show predicted future position:
|
|
355
|
+
|
|
356
|
+
```txt
|
|
357
|
+
Component -.- (x, y)
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
Note: Trends use standard (x, y) order, not \[visibility, evolution]!
|
|
361
|
+
|
|
362
|
+
### Pipelines
|
|
363
|
+
|
|
364
|
+
Pipeline components share visibility and only vary by evolution:
|
|
365
|
+
|
|
366
|
+
```mermaid-example
|
|
367
|
+
wardley-beta
|
|
368
|
+
title Pipeline Evolution
|
|
369
|
+
|
|
370
|
+
component Database [0.40, 0.60]
|
|
371
|
+
|
|
372
|
+
pipeline Database {
|
|
373
|
+
component "File System" [0.25]
|
|
374
|
+
component "SQL DB" [0.50]
|
|
375
|
+
component "NoSQL" [0.70]
|
|
376
|
+
component "Cloud DB" [0.85]
|
|
377
|
+
}
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
```mermaid
|
|
381
|
+
wardley-beta
|
|
382
|
+
title Pipeline Evolution
|
|
383
|
+
|
|
384
|
+
component Database [0.40, 0.60]
|
|
385
|
+
|
|
386
|
+
pipeline Database {
|
|
387
|
+
component "File System" [0.25]
|
|
388
|
+
component "SQL DB" [0.50]
|
|
389
|
+
component "NoSQL" [0.70]
|
|
390
|
+
component "Cloud DB" [0.85]
|
|
391
|
+
}
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
### Custom Evolution Stages
|
|
395
|
+
|
|
396
|
+
Define custom axis labels:
|
|
397
|
+
|
|
398
|
+
```mermaid-example
|
|
399
|
+
wardley-beta
|
|
400
|
+
title Custom Stages
|
|
401
|
+
|
|
402
|
+
evolution Unmodelled -> Divergent -> Convergent -> Modelled
|
|
403
|
+
|
|
404
|
+
component Raw Data [0.15, 0.20]
|
|
405
|
+
component Analysis [0.45, 0.50]
|
|
406
|
+
component Reports [0.75, 0.70]
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
```mermaid
|
|
410
|
+
wardley-beta
|
|
411
|
+
title Custom Stages
|
|
412
|
+
|
|
413
|
+
evolution Unmodelled -> Divergent -> Convergent -> Modelled
|
|
414
|
+
|
|
415
|
+
component Raw Data [0.15, 0.20]
|
|
416
|
+
component Analysis [0.45, 0.50]
|
|
417
|
+
component Reports [0.75, 0.70]
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
#### Dual Labels
|
|
421
|
+
|
|
422
|
+
```mermaid-example
|
|
423
|
+
wardley-beta
|
|
424
|
+
title Dual Label Stages
|
|
425
|
+
|
|
426
|
+
evolution Genesis / Concept -> Custom / Emerging -> Product / Converging -> Commodity / Accepted
|
|
427
|
+
|
|
428
|
+
component Novel Idea [0.05, 0.20]
|
|
429
|
+
component Custom Solution [0.35, 0.50]
|
|
430
|
+
component Product [0.65, 0.70]
|
|
431
|
+
component Utility [0.95, 0.90]
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
```mermaid
|
|
435
|
+
wardley-beta
|
|
436
|
+
title Dual Label Stages
|
|
437
|
+
|
|
438
|
+
evolution Genesis / Concept -> Custom / Emerging -> Product / Converging -> Commodity / Accepted
|
|
439
|
+
|
|
440
|
+
component Novel Idea [0.05, 0.20]
|
|
441
|
+
component Custom Solution [0.35, 0.50]
|
|
442
|
+
component Product [0.65, 0.70]
|
|
443
|
+
component Utility [0.95, 0.90]
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
#### Custom Stage Widths
|
|
447
|
+
|
|
448
|
+
Specify custom boundary widths using `@` notation:
|
|
449
|
+
|
|
450
|
+
```mermaid-example
|
|
451
|
+
wardley-beta
|
|
452
|
+
title Custom Widths
|
|
453
|
+
|
|
454
|
+
evolution Genesis@0.2 -> Custom@0.4 -> Product@0.75 -> Commodity@1.0
|
|
455
|
+
|
|
456
|
+
component Novel [0.75, 0.15]
|
|
457
|
+
component Bespoke [0.70, 0.35]
|
|
458
|
+
component Product [0.65, 0.65]
|
|
459
|
+
component Utility [0.60, 0.90]
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
```mermaid
|
|
463
|
+
wardley-beta
|
|
464
|
+
title Custom Widths
|
|
465
|
+
|
|
466
|
+
evolution Genesis@0.2 -> Custom@0.4 -> Product@0.75 -> Commodity@1.0
|
|
467
|
+
|
|
468
|
+
component Novel [0.75, 0.15]
|
|
469
|
+
component Bespoke [0.70, 0.35]
|
|
470
|
+
component Product [0.65, 0.65]
|
|
471
|
+
component Utility [0.60, 0.90]
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
### Annotations and Notes
|
|
475
|
+
|
|
476
|
+
#### Notes
|
|
477
|
+
|
|
478
|
+
Add contextual notes at specific coordinates:
|
|
479
|
+
|
|
480
|
+
```
|
|
481
|
+
note "text" [visibility, evolution]
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
> **Note**: Text must be enclosed in quotes.
|
|
485
|
+
|
|
486
|
+
```mermaid-example
|
|
487
|
+
wardley-beta
|
|
488
|
+
title Notes
|
|
489
|
+
|
|
490
|
+
component API [0.60, 0.70]
|
|
491
|
+
component Database [0.40, 0.50]
|
|
492
|
+
|
|
493
|
+
API -> Database
|
|
494
|
+
|
|
495
|
+
note "Critical decision point" [0.65, 0.55]
|
|
496
|
+
note "High risk area" [0.40, 0.35]
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
```mermaid
|
|
500
|
+
wardley-beta
|
|
501
|
+
title Notes
|
|
502
|
+
|
|
503
|
+
component API [0.60, 0.70]
|
|
504
|
+
component Database [0.40, 0.50]
|
|
505
|
+
|
|
506
|
+
API -> Database
|
|
507
|
+
|
|
508
|
+
note "Critical decision point" [0.65, 0.55]
|
|
509
|
+
note "High risk area" [0.40, 0.35]
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
#### Numbered Annotations
|
|
513
|
+
|
|
514
|
+
Create numbered references with optional annotation box:
|
|
515
|
+
|
|
516
|
+
```
|
|
517
|
+
annotations [x, y] # Optional: position for annotation numbers
|
|
518
|
+
annotation number,[x, y] "text"
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
> **Note**: Annotation text must be enclosed in quotes.
|
|
522
|
+
|
|
523
|
+
```mermaid-example
|
|
524
|
+
wardley-beta
|
|
525
|
+
title Annotations
|
|
526
|
+
|
|
527
|
+
component API [0.60, 0.70]
|
|
528
|
+
component Cache [0.50, 0.55]
|
|
529
|
+
component Database [0.40, 0.40]
|
|
530
|
+
|
|
531
|
+
API -> Cache
|
|
532
|
+
Cache -> Database
|
|
533
|
+
|
|
534
|
+
annotations [0.10, 0.90]
|
|
535
|
+
annotation 1,[0.60, 0.65] "Critical component"
|
|
536
|
+
annotation 2,[0.50, 0.50] "Performance layer"
|
|
537
|
+
annotation 3,[0.40, 0.35] "Data persistence"
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
```mermaid
|
|
541
|
+
wardley-beta
|
|
542
|
+
title Annotations
|
|
543
|
+
|
|
544
|
+
component API [0.60, 0.70]
|
|
545
|
+
component Cache [0.50, 0.55]
|
|
546
|
+
component Database [0.40, 0.40]
|
|
547
|
+
|
|
548
|
+
API -> Cache
|
|
549
|
+
Cache -> Database
|
|
550
|
+
|
|
551
|
+
annotations [0.10, 0.90]
|
|
552
|
+
annotation 1,[0.60, 0.65] "Critical component"
|
|
553
|
+
annotation 2,[0.50, 0.50] "Performance layer"
|
|
554
|
+
annotation 3,[0.40, 0.35] "Data persistence"
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
### Visual Elements
|
|
558
|
+
|
|
559
|
+
#### Accelerators and Deaccelerators
|
|
560
|
+
|
|
561
|
+
Forces affecting evolution:
|
|
562
|
+
|
|
563
|
+
```mermaid-example
|
|
564
|
+
wardley-beta
|
|
565
|
+
title Forces
|
|
566
|
+
|
|
567
|
+
component Legacy [0.20, 0.85]
|
|
568
|
+
component Modern [0.55, 0.60]
|
|
569
|
+
component AI [0.70, 0.35]
|
|
570
|
+
|
|
571
|
+
Legacy -> Modern
|
|
572
|
+
Modern -> AI
|
|
573
|
+
|
|
574
|
+
accelerator "AI Adoption" [0.55, 0.25]
|
|
575
|
+
deaccelerator "Legacy Constraints" [0.15, 0.75]
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
```mermaid
|
|
579
|
+
wardley-beta
|
|
580
|
+
title Forces
|
|
581
|
+
|
|
582
|
+
component Legacy [0.20, 0.85]
|
|
583
|
+
component Modern [0.55, 0.60]
|
|
584
|
+
component AI [0.70, 0.35]
|
|
585
|
+
|
|
586
|
+
Legacy -> Modern
|
|
587
|
+
Modern -> AI
|
|
588
|
+
|
|
589
|
+
accelerator "AI Adoption" [0.55, 0.25]
|
|
590
|
+
deaccelerator "Legacy Constraints" [0.15, 0.75]
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
## Advanced Features
|
|
594
|
+
|
|
595
|
+
### Label Positioning
|
|
596
|
+
|
|
597
|
+
Fine-tune label placement:
|
|
598
|
+
|
|
599
|
+
```txt
|
|
600
|
+
component Name [visibility, evolution] label [offsetX, offsetY]
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
Negative X moves left, positive X moves right.
|
|
604
|
+
Negative Y moves up, positive Y moves down.
|
|
605
|
+
|
|
606
|
+
### Custom Canvas Size
|
|
607
|
+
|
|
608
|
+
```mermaid-example
|
|
609
|
+
wardley-beta
|
|
610
|
+
title Custom Size
|
|
611
|
+
size [800, 1000]
|
|
612
|
+
```
|
|
613
|
+
|
|
614
|
+
```mermaid
|
|
615
|
+
wardley-beta
|
|
616
|
+
title Custom Size
|
|
617
|
+
size [800, 1000]
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
## Complete Example
|
|
621
|
+
|
|
622
|
+
```mermaid-example
|
|
623
|
+
wardley-beta
|
|
624
|
+
title Software Platform Strategy
|
|
625
|
+
size [1100, 800]
|
|
626
|
+
|
|
627
|
+
evolution Genesis@0.25 -> Custom@0.5 -> Product@0.75 -> Commodity@1.0
|
|
628
|
+
|
|
629
|
+
anchor Customer [0.90, 0.95]
|
|
630
|
+
|
|
631
|
+
component "Mobile App" [0.80, 0.85] (build)
|
|
632
|
+
component "Web App" [0.75, 0.80] label [-60, 10] (build)
|
|
633
|
+
component "API Gateway" [0.70, 0.65] (buy)
|
|
634
|
+
component "Auth Service" [0.60, 0.55] (outsource)
|
|
635
|
+
component "Database" [0.50, 0.45] (buy) (inertia)
|
|
636
|
+
component "Cloud Platform" [0.30, 0.95] (market)
|
|
637
|
+
|
|
638
|
+
Customer -> "Mobile App"
|
|
639
|
+
Customer -> "Web App"
|
|
640
|
+
"Mobile App" -> "API Gateway"
|
|
641
|
+
"Web App" -> "API Gateway"
|
|
642
|
+
"API Gateway" -> "Auth Service"
|
|
643
|
+
"API Gateway" -> "Database"
|
|
644
|
+
"Database" -> "Cloud Platform"
|
|
645
|
+
|
|
646
|
+
evolve "API Gateway" 0.85
|
|
647
|
+
evolve "Database" 0.75
|
|
648
|
+
|
|
649
|
+
accelerator "Cloud Native" [0.20, 0.85]
|
|
650
|
+
deaccelerator "Legacy Data" [0.45, 0.35]
|
|
651
|
+
|
|
652
|
+
annotations [0.10, 0.20]
|
|
653
|
+
annotation 1,[0.78, 0.82] "User touchpoints"
|
|
654
|
+
annotation 2,[0.70, 0.60] "Integration layer"
|
|
655
|
+
annotation 3,[0.50, 0.40] "Data persistence"
|
|
656
|
+
|
|
657
|
+
note "Build mobile-first experience" [0.85, 0.90]
|
|
658
|
+
note "Migrate to cloud-native database" [0.60, 0.50]
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
```mermaid
|
|
662
|
+
wardley-beta
|
|
663
|
+
title Software Platform Strategy
|
|
664
|
+
size [1100, 800]
|
|
665
|
+
|
|
666
|
+
evolution Genesis@0.25 -> Custom@0.5 -> Product@0.75 -> Commodity@1.0
|
|
667
|
+
|
|
668
|
+
anchor Customer [0.90, 0.95]
|
|
669
|
+
|
|
670
|
+
component "Mobile App" [0.80, 0.85] (build)
|
|
671
|
+
component "Web App" [0.75, 0.80] label [-60, 10] (build)
|
|
672
|
+
component "API Gateway" [0.70, 0.65] (buy)
|
|
673
|
+
component "Auth Service" [0.60, 0.55] (outsource)
|
|
674
|
+
component "Database" [0.50, 0.45] (buy) (inertia)
|
|
675
|
+
component "Cloud Platform" [0.30, 0.95] (market)
|
|
676
|
+
|
|
677
|
+
Customer -> "Mobile App"
|
|
678
|
+
Customer -> "Web App"
|
|
679
|
+
"Mobile App" -> "API Gateway"
|
|
680
|
+
"Web App" -> "API Gateway"
|
|
681
|
+
"API Gateway" -> "Auth Service"
|
|
682
|
+
"API Gateway" -> "Database"
|
|
683
|
+
"Database" -> "Cloud Platform"
|
|
684
|
+
|
|
685
|
+
evolve "API Gateway" 0.85
|
|
686
|
+
evolve "Database" 0.75
|
|
687
|
+
|
|
688
|
+
accelerator "Cloud Native" [0.20, 0.85]
|
|
689
|
+
deaccelerator "Legacy Data" [0.45, 0.35]
|
|
690
|
+
|
|
691
|
+
annotations [0.10, 0.20]
|
|
692
|
+
annotation 1,[0.78, 0.82] "User touchpoints"
|
|
693
|
+
annotation 2,[0.70, 0.60] "Integration layer"
|
|
694
|
+
annotation 3,[0.50, 0.40] "Data persistence"
|
|
695
|
+
|
|
696
|
+
note "Build mobile-first experience" [0.85, 0.90]
|
|
697
|
+
note "Migrate to cloud-native database" [0.60, 0.50]
|
|
698
|
+
```
|
|
699
|
+
|
|
700
|
+
## Configuration
|
|
701
|
+
|
|
702
|
+
Wardley Maps support Mermaid's theme system. Use standard Mermaid configuration to customize appearance.
|
|
703
|
+
|
|
704
|
+
## Resources
|
|
705
|
+
|
|
706
|
+
- [Wardley Mapping Book](https://medium.com/wardleymaps) by Simon Wardley
|
|
707
|
+
- [OnlineWardleyMaps](https://onlinewardleymaps.com/) - Interactive mapping tool
|
|
708
|
+
- [Wardley Maps Community](https://community.wardleymaps.com/)
|
|
709
|
+
- [Learn Wardley Mapping](https://learnwardleymapping.com/)
|
|
710
|
+
|
|
711
|
+
## Syntax Summary
|
|
712
|
+
|
|
713
|
+
| Element | Syntax | Example |
|
|
714
|
+
| ---------- | ----------------------------------- | ----------------------------------- |
|
|
715
|
+
| Diagram | `wardley-beta` | `wardley-beta` |
|
|
716
|
+
| Title | `title Text` | `title My Map` |
|
|
717
|
+
| Size | `size [width, height]` | `size [1100, 800]` |
|
|
718
|
+
| Component | `component Name [vis, evo]` | `component API [0.6, 0.7]` |
|
|
719
|
+
| Anchor | `anchor Name [vis, evo]` | `anchor User [0.9, 0.95]` |
|
|
720
|
+
| Link | `A -> B` | `API -> Database` |
|
|
721
|
+
| Flow | `A +> B` | `User +> API` |
|
|
722
|
+
| Evolve | `evolve Name targetEvo` | `evolve API 0.85` |
|
|
723
|
+
| Note | `note "Text" [vis, evo]` | `note "Key insight" [0.4, 0.5]` |
|
|
724
|
+
| Annotation | `annotation N,[x,y] "Text"` | `annotation 1,[0.5,0.5] "Critical"` |
|
|
725
|
+
| Inertia | `(inertia)` | `component DB [0.4, 0.6] (inertia)` |
|
|
726
|
+
| Strategy | `(build\|buy\|outsource\|market)` | `component API [0.6, 0.7] (buy)` |
|
|
727
|
+
| Pipeline | `pipeline Parent { ... }` | See pipeline example above |
|
|
728
|
+
| Evolution | `evolution Stage1 -> Stage2 -> ...` | See evolution examples above |
|
|
729
|
+
|
|
730
|
+
## Limitations
|
|
731
|
+
|
|
732
|
+
- Handdrawn/rough mode (`look: handDrawn`) is not currently supported for Wardley Maps. The diagram uses a custom D3 renderer rather than the shared shape system.
|