fix mermaid

This commit is contained in:
zachary62 2024-12-28 04:25:00 +00:00
parent c01c510be7
commit d7cc366d15
1 changed files with 15 additions and 14 deletions

View File

@ -74,7 +74,7 @@ Let's see how it flows:
flowchart TD
review[Review Expense] -->|approved| payment[Process Payment]
review -->|needs_revision| revise[Revise Report]
review -->|rejected| finish[End Process]
review -->|rejected| finish[Finish Process]
revise --> review
payment --> finish
@ -146,20 +146,21 @@ order_pipeline.run(shared_data)
This creates a clean separation of concerns while maintaining a clear execution path:
```mermaid
flowchart TD
flowchart LR
subgraph order_pipeline[Order Pipeline]
subgraph paymentFlow["Payment Flow"]
A[Validate Payment] --> B[Process Payment] --> C[Payment Confirmation]
end
subgraph paymentFlow["Payment Flow"]
A[Validate Payment] --> B[Process Payment] --> C[Payment Confirmation]
end
subgraph inventoryFlow["Inventory Flow"]
D[Check Stock] --> E[Reserve Items] --> F[Update Inventory]
end
subgraph inventoryFlow["Inventory Flow"]
D[Check Stock] --> E[Reserve Items] --> F[Update Inventory]
end
subgraph shippingFlow["Shipping Flow"]
G[Create Label] --> H[Assign Carrier] --> I[Schedule Pickup]
end
subgraph shippingFlow["Shipping Flow"]
G[Create Label] --> H[Assign Carrier] --> I[Schedule Pickup]
end
paymentFlow --> inventoryFlow
inventoryFlow --> shippingFlow
paymentFlow --> inventoryFlow
inventoryFlow --> shippingFlow
end
```