From 4f722b66c4a5f2906d030e54c537bf98d342bffb Mon Sep 17 00:00:00 2001 From: kimulaco Date: Thu, 21 May 2026 23:09:21 +0900 Subject: [PATCH] docs(wardley): fix label/decorator order in complete example --- docs/syntax/wardley.md | 4 ++-- packages/mermaid/src/docs/syntax/wardley.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/syntax/wardley.md b/docs/syntax/wardley.md index 738fabb4480..2f0e691e761 100644 --- a/docs/syntax/wardley.md +++ b/docs/syntax/wardley.md @@ -629,7 +629,7 @@ evolution Genesis@0.25 -> Custom@0.5 -> Product@0.75 -> Commodity@1.0 anchor Customer [0.90, 0.95] component "Mobile App" [0.80, 0.85] (build) -component "Web App" [0.75, 0.80] (build) label [-60, 10] +component "Web App" [0.75, 0.80] label [-60, 10] (build) component "API Gateway" [0.70, 0.65] (buy) component "Auth Service" [0.60, 0.55] (outsource) component "Database" [0.50, 0.45] (buy) (inertia) @@ -668,7 +668,7 @@ evolution Genesis@0.25 -> Custom@0.5 -> Product@0.75 -> Commodity@1.0 anchor Customer [0.90, 0.95] component "Mobile App" [0.80, 0.85] (build) -component "Web App" [0.75, 0.80] (build) label [-60, 10] +component "Web App" [0.75, 0.80] label [-60, 10] (build) component "API Gateway" [0.70, 0.65] (buy) component "Auth Service" [0.60, 0.55] (outsource) component "Database" [0.50, 0.45] (buy) (inertia) diff --git a/packages/mermaid/src/docs/syntax/wardley.md b/packages/mermaid/src/docs/syntax/wardley.md index e5eb5acc6a3..60d26db0a99 100644 --- a/packages/mermaid/src/docs/syntax/wardley.md +++ b/packages/mermaid/src/docs/syntax/wardley.md @@ -397,7 +397,7 @@ evolution Genesis@0.25 -> Custom@0.5 -> Product@0.75 -> Commodity@1.0 anchor Customer [0.90, 0.95] component "Mobile App" [0.80, 0.85] (build) -component "Web App" [0.75, 0.80] (build) label [-60, 10] +component "Web App" [0.75, 0.80] label [-60, 10] (build) component "API Gateway" [0.70, 0.65] (buy) component "Auth Service" [0.60, 0.55] (outsource) component "Database" [0.50, 0.45] (buy) (inertia)