From 46c8c7119fd37a3dfc7e6e79718f69b6ce3f959b Mon Sep 17 00:00:00 2001 From: Philipp <35833350+ClosedSourcerer@users.noreply.github.com> Date: Mon, 11 Nov 2024 09:55:07 +0100 Subject: [PATCH] Added numbering to sequence diagrams --- .../adoption-view/overview.md | 11 +++- .../adoption-view/use-case/comments.md | 1 + .../use-case/delta-production.md | 9 ++-- .../use-case/demand-volatility.md | 18 ++++--- .../use-case/disruption-notification.md | 9 ++-- .../adoption-view/use-case/load-factors.md | 13 +++-- .../adoption-view/use-case/nesting.md | 19 ++++--- .../adoption-view/use-case/rfu.md | 10 ++-- .../development-view/api-capacity-group.md | 1 + .../development-view/api-comment.md | 6 +-- .../development-view/api-material-demand.md | 16 +++--- .../development-view/api-rfu.md | 50 +++++++++---------- .../development-view/overview.md | 3 ++ 13 files changed, 95 insertions(+), 71 deletions(-) diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/overview.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/overview.md index af4ab0715c8..ac8a3603bd4 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/overview.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/overview.md @@ -74,8 +74,9 @@ The core of the DCM business process is about exchanging demand and capacity inf ```mermaid sequenceDiagram - actor c as Customer - actor s as Supplier +autonumber +actor c as Customer +actor s as Supplier rect rgb(221,130,0) activate c note left of c: Exchange demand information @@ -95,11 +96,17 @@ c->>c: Consume WeekBasedCapacityGroup end rect rgb(04,107,153) note left of c: Compare demands to capacity +autonumber 8 c->>c: Compare WeekBasedMaterialDemand to WeekBasedCapacityGroup +autonumber 8 s->>s: Compare WeekBasedMaterialDemand to WeekBasedCapacityGroup +autonumber 9 c->>c: Identify bottlenecks +autonumber 9 s->>s: Identify bottlenecks +autonumber 10 c->>s: Resolve bottlenecks +autonumber 10 s->>c: Resolve bottlenecks deactivate c deactivate s diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/comments.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/comments.md index 8bef16743b7..86352f242d2 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/comments.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/comments.md @@ -21,6 +21,7 @@ Comments use their own aspect model and API. Comments are provided and consumed ```mermaid sequenceDiagram +autonumber Participant c as Customer Participant s as Supplier rect rgb(4,107,153) diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/delta-production.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/delta-production.md index 27347672253..1613ed02cd4 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/delta-production.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/delta-production.md @@ -109,18 +109,19 @@ Suppliers can use comments to provide customers with additional information abou ```mermaid sequenceDiagram +autonumber Participant c as Customer Participant s as Supplier rect rgb(157,93,00) -c->>s: I need 100 blue toys each in weeks 47, 48, 49 and 50 + c->>s: I need 100 blue toys each in weeks 47, 48, 49 and 50 end s->>s: Manage Capacities s->>s: There is a bottleneck in week 50 s->>s: It is solvable via pre-production in weeks 48 and 49 - rect rgb(4,107,153) -s-->>c: I can produce 100 in week 47, 0 in week 50 and 150 in weeks 48 and 49 -s->>c: 50 each in weeks 48 und 49 are pre-produced to cover the demand in week 50 + s-->>c: I can produce 100 in week 47, 0 in week 50 and 150 in weeks 48 and 49 + autonumber off + s->>c: 50 each in weeks 48 und 49 are pre-produced to cover the demand in week 50 end ``` diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/demand-volatility.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/demand-volatility.md index 7d6a63becc5..2e22d12c6fc 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/demand-volatility.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/demand-volatility.md @@ -106,27 +106,29 @@ For further details please refer to [Aspect Model WeekBasedCapacityGroup](../../ ```mermaid sequenceDiagram +autonumber Participant c as Customer Participant s as Supplier rect rgb(157,93,00) -c->>s: I need 1000 red toys in week 19 + c->>s: I need 1000 red toys in week 19 end c->>c: Wait 4 weeks rect rgb(157,93,00) -c->>s: I need 100 red toys in week 19 + c->>s: I need 100 red toys in week 19 end s->>s: I should really start measuring the volatility of my customers demands c->>c: Wait 4 weeks rect rgb(157,93,00) -c->>s: I need 75 red toys in week 19 + c->>s: I need 75 red toys in week 19 end s->>s: I start transferring the volatility of my customers demands rect rgb(64,74,00) -s->>c: I started measuring Demand Deviation, using the following parameters: -s-->>c: Measurement Interval is set to 4 weeks -s-->>c: Increase limited to max. 20% in subhorizon 3 -s-->>c: Decrease limited to max. -20% in subhorizon 3 -s-->>c: Measurement starts in week 0, using 4 subhorizons of length (2,11,39,52) + s->>c: I started measuring Demand Deviation, using the following parameters: + autonumber off + s-->>c: Measurement Interval is set to 4 weeks + s-->>c: Increase limited to max. 20% in subhorizon 3 + s-->>c: Decrease limited to max. -20% in subhorizon 3 + s-->>c: Measurement starts in week 0, using 4 subhorizons of length (2,11,39,52) end ``` diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/disruption-notification.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/disruption-notification.md index 52082dc65c7..9977d4170ce 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/disruption-notification.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/disruption-notification.md @@ -21,14 +21,17 @@ Supply chain disruption notifications use their own aspect model and API. Suppl ```mermaid sequenceDiagram +autonumber Participant c as Customer / Supplier Participant s as Supplier / Customer rect rgb(4,107,153) -c->>s: One of my production plants is negatively impacted by a strike -c-->>s: This affects the demand of the following materials: {Toy 1, Toy2, Toy3} + c->>s: One of my production plants is negatively impacted by a strike + autonumber off + c-->>s: This affects the demand of the following materials: {Toy 1, Toy2, Toy3} end rect rgb(4,107,153) -c->>s: The disruption (strike) has ended + autonumber 2 + c->>s: The disruption (strike) has ended end ``` diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/load-factors.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/load-factors.md index c266952ee57..f830f73a0a5 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/load-factors.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/load-factors.md @@ -80,18 +80,21 @@ Red toy needs 1 cycle at this station. Chrome toy needs 2 cycles because it need ```mermaid sequenceDiagram +autonumber Participant c as Customer Participant s as Supplier rect rgb(157,93,00) -c->>s: I need 100 red and 100 chrome toys + c->>s: I need 100 red and 100 chrome toys end s->>s: Chrome toys strain my capacities twice as much as red toys rect rgb(4,107,153) -s-->>c: Your demand and my capacities need to be expressed as production cycles. -s-->>c: Red toys are loaded with factor 1 -s-->>c: Chrome toys are loaded with factor 2 -s->>c: My overall capacity is 250 cycles + s-->>c: Your demand and my capacities need to be expressed as production cycles. + autonumber off + s-->>c: Red toys are loaded with factor 1 + s-->>c: Chrome toys are loaded with factor 2 + s->>c: My overall capacity is 250 cycles end +autonumber 4 c->>c: My demands are 100 red cycles plus 200 chrome cycles equals 300 cycles c->>c: Their capacity for both toys is 250 cycles c->>c: Reduce demand for chrome toys to 75 so total demand equals 250 cycles diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/nesting.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/nesting.md index ba0de0cb24b..1f6b505caee 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/nesting.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/nesting.md @@ -130,19 +130,24 @@ For further details please refer to [Aspect Model - WeekBasedCapacityGroup](../. ```mermaid sequenceDiagram +autonumber Participant c as Customer Participant s as Supplier rect rgb(191,113,00) -c->>s: I need 60 pieces of toy 1, 40 pieces of toy 2 and 50 pieces of toy 3 -c->>s: I need 100 pieces of toy 4 and 70 pieces of toy 5 + c->>s: I need 60 pieces of toy 1, 40 pieces of toy 2 and 50 pieces of toy 3 + c->>s: I need 100 pieces of toy 4 and 70 pieces of toy 5 end s->>s: Toys 1, 2 and 3 are produced on line 1, toys 4 and 5 on line 2 and all toys have to pass through paint shop rect rgb(64,74,00) -s-->>c: Your demand and my capacities need to be assigned to 3 different capacity groups. -s->>c: Toys 1, 2 and 3 are part of capacity group "Production Line 1" -s->>c: Toys 4 and 5 are part of capacity group "Production Line 2" -s-->>c: All toys have to be colored in the paint shop -s->>c: Nesting "Production Line 1" and "Production Line 2" in "Paint Shop" instead of linking each Material Demand separately again + autonumber off + s-->>c: Your demand and my capacities need to be assigned to 3 different capacity groups. + autonumber 4 + s->>c: Toys 1, 2 and 3 are part of capacity group "Production Line 1" + s->>c: Toys 4 and 5 are part of capacity group "Production Line 2" + autonumber off + s-->>c: All toys have to be colored in the paint shop + autonumber 6 + s->>c: Nesting "Production Line 1" and "Production Line 2" in "Paint Shop" instead of linking each Material Demand separately again end c->>c: My demands for all 5 toys are interlinked and transparent that they affect same capacity together ``` diff --git a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/rfu.md b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/rfu.md index 0677a64a636..dff7ada86ed 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/rfu.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/adoption-view/use-case/rfu.md @@ -22,20 +22,20 @@ Request for update uses its own aspect model and API. Request for update is prov ```mermaid sequenceDiagram +autonumber Participant c as Customer / Supplier Participant s as Supplier / Customer c->>c: One of my users is viewing some data c->>c: This data from my partner is 6 months old and I received the last update 2 months ago. rect rgb(4,107,153) -c->>s: I have data known by ID e03ac75f with timestamp 2023.12.12 do you have a more recent version? - + c->>s: I have data known by ID e03ac75f with timestamp 2023.12.12 do you have a more recent version? end c->>c: Inform user that I am synchronizing the data alt Data not in sync -s->>c: Here is a more recent version of data e03ac75f + s->>c: Here is a more recent version of data e03ac75f else Data still in sync -s->>c: You already have the most recent version of data e03ac75f - + autonumber 5 + s->>c: You already have the most recent version of data e03ac75f end c->>c: Show user how old the data is and when it was last synchronized. ``` diff --git a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-capacity-group.md b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-capacity-group.md index 185f888f082..922eb36a774 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-capacity-group.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-capacity-group.md @@ -21,6 +21,7 @@ The WeekBasedCapacityGroup API is owned and registered as an EDC asset by the su ```mermaid sequenceDiagram +autonumber actor c as Customer participant ce as Customer EDC participant se as Supplier EDC diff --git a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-comment.md b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-comment.md index a02e9842469..fc12ca778d3 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-comment.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-comment.md @@ -29,16 +29,16 @@ sequenceDiagram actor s as Supplier rect rgb(217,24,24) + autonumber 1 c->>+ce: Register API as Asset ce->>-c: API registered end rect rgb(217,24,24) + autonumber 1 s->>+se: Register API as Asset se->>-s: API registered end - - - +autonumber 1 rect rgb(04,107,153) c->>+ce: Provide IdBasedComment rect rgb(33,157,212) diff --git a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-material-demand.md b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-material-demand.md index be9e859f3b6..59e17dbdb0c 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-material-demand.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-material-demand.md @@ -28,15 +28,17 @@ sequenceDiagram actor s as Supplier rect rgb(217,24,24) - c->>+ce: Register API as Asset - ce->>-c: API registered + autonumber 1 + c->>+ce: Register API as Asset + ce->>-c: API registered end rect rgb(221,130,0) - s->>+se: Provide WeekBasedMaterialDemand - rect rgb(255,166,0) - se->>+ce: Initiate Handshake - ce->>se: Complete Handshake - end + autonumber 1 + s->>+se: Provide WeekBasedMaterialDemand + rect rgb(255,166,0) + se->>+ce: Initiate Handshake + ce->>se: Complete Handshake + end se->>ce: Provide WeekBasedMaterialDemand ce->>+a: Provide WeekBasedMaterialDemand a->>-ce: WeekBasedMaterialDemand consumed diff --git a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-rfu.md b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-rfu.md index d5012205f13..d4c17bfa5ad 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-rfu.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/development-view/api-rfu.md @@ -27,44 +27,40 @@ sequenceDiagram participant se as Supplier EDC participant sa as Request for Update API actor s as Supplier - rect rgb(217,24,24) - c->>+ce: Register API as Asset - ce->>-c: API registered + autonumber 1 + c->>+ce: Register API as Asset + ce->>-c: API registered end rect rgb(217,24,24) - s->>+se: Register API as Asset - se->>-s: API registered + autonumber 1 + s->>+se: Register API as Asset + se->>-s: API registered end - - - - rect rgb(04,107,153) - c->>+ce: Provide IdBasedRequestForUpdate - rect rgb(33,157,212) - ce->>+se: Initiate Handshake - se->>ce: Complete Handshake + rect rgb(04,107,153) + autonumber 1 + c->>+ce: Provide IdBasedRequestForUpdate + rect rgb(33,157,212) + ce->>+se: Initiate Handshake + se->>ce: Complete Handshake + end + ce->>se: Provide IdBasedRequestForUpdate + se->>+sa: Provide IdBasedRequestForUpdate + sa->>-se: IdBasedRequestForUpdate consumed + se->>-ce: IdBasedRequestForUpdate consumed + ce->>-c: IdBasedRequestForUpdate consumed end - ce->>se: Provide IdBasedRequestForUpdate - se->>+sa: Provide IdBasedRequestForUpdate - sa->>-se: IdBasedRequestForUpdate consumed - se->>-ce: IdBasedRequestForUpdate consumed - ce->>-c: IdBasedRequestForUpdate consumed - - end - rect rgb(04,107,153) - s->>+se: Provide IdBasedRequestForUpdate - rect rgb(33,157,212) - se->>+ce: Initiate Handshake - ce->>se: Complete Handshake - end + s->>+se: Provide IdBasedRequestForUpdate + rect rgb(33,157,212) + se->>+ce: Initiate Handshake + ce->>se: Complete Handshake + end se->>ce: Provide IdBasedRequestForUpdate ce->>+ca: Provide IdBasedRequestForUpdate ca->>-ce: IdBasedRequestForUpdate consumed ce->>-se: IdBasedRequestForUpdate consumed se->>-s: IdBasedRequestForUpdate consumed - end ``` diff --git a/docs-kits/kits/Demand and Capacity Management Kit/development-view/overview.md b/docs-kits/kits/Demand and Capacity Management Kit/development-view/overview.md index 9aa6858c071..c3d73959bcc 100644 --- a/docs-kits/kits/Demand and Capacity Management Kit/development-view/overview.md +++ b/docs-kits/kits/Demand and Capacity Management Kit/development-view/overview.md @@ -190,6 +190,7 @@ rect rgb(57,57,57) s->>s: Check Wallet end rect rgb(221,130,0) +autonumber 1 note right of c: Transfer WeekBasedMaterialDemand c->>s: FileTransfer ALPHA containing MaterialDemand ALPHA,BETA and GAMMA s->>c: HTTP 200 OK @@ -206,6 +207,7 @@ end rect rgb(57,57,57) note right of c: GUI test c->>c: Visualize bottleneck calculation + autonumber 9 s->>s: Visualize bottleneck calculation end rect rgb(4,107,153) @@ -241,6 +243,7 @@ end rect rgb(57,57,57) note right of c: GUI test c->>c: Visualize Comment + autonumber 22 s->>s: Visualize Comment end ```