Demo: generate PlantUML for a payment workflow
AI PlantUML is useful when teams already store diagrams as text. The prompt should ask for a specific PlantUML diagram type and include the messages or components that must appear.
- Ask for sequence, component, class, or activity explicitly.
- Mention failure branches that need alt or if blocks.
- Preview the generated PlantUML before committing it to docs.
Generate a PlantUML sequence diagram for checkout payment. Include Browser, API, PaymentProvider, OrderDB. Show authorize success and card_declined failure path.