Marketplace order sequence
Exercise nested alternatives plus parallel fulfillment and receipt work.
Capability: render-only specialized family.
Read the Mermaid source
sequenceDiagram
participant Shopper
participant Market
participant Inventory
participant Payment
participant Seller
Shopper->>+Market: Place order
Market->>Inventory: Reserve items
alt Items unavailable
Inventory-->>Market: Reservation rejected
Market-->>Shopper: Suggest alternatives
else Items reserved
Inventory-->>Market: Reservation confirmed
Market->>Payment: Authorize total
alt Authorization declined
Payment-->>Market: Declined
Market->>Inventory: Release reservation
Market-->>Shopper: Request another payment method
else Authorization approved
Payment-->>Market: Approved
par Fulfillment
Market--)Seller: Send packing request
and Receipt
Market-->>Shopper: Confirm order
end
end
end
Rendered output
Suggested prompt
Render the order sequence and identify the two recovery paths. Use examples/sources/16-marketplace-order-sequence.mmd and show me the result.
Use the Beautiflow skill. Render the order sequence and identify the two recovery paths. Use examples/sources/16-marketplace-order-sequence.mmd and show me the result. Use examples/sources/16-marketplace-order-sequence.mmd as the semantic reference; preserve its named participants, relationships, labels and authored values. Explain the system to a reader unfamiliar with this example. Keep fictional measurements and scenarios explicitly illustrative. Work in a new destination that I approve; do not overwrite the reference files. Inspect the diagram type’s capabilities before choosing an operation. Do not invent pixel coordinates or use unsupported polish or transformations. Render the result, report available checks and their limits, and keep visual judgment separate from mechanical evidence.
2 · Diagram
Generated with:
beautiflow render examples/sources/16-marketplace-order-sequence.mmd --format png --theme github-light --transparent --output examples/rendered/16-marketplace-order-sequence.png
Try it
Keep the live result open:
beautiflow server examples/sources/16-marketplace-order-sequence.mmd
Run Beautiflow directly:
beautiflow render examples/sources/16-marketplace-order-sequence.mmd --format svg
Or ask an agent with the Beautiflow skill:
Render the order sequence and identify the two recovery paths.
Use examples/sources/16-marketplace-order-sequence.mmd and show me the result.
