GalleryExamplesDraw your repo

Examples / State diagrams

Order lifecycle

The states an online order moves through, from placed to delivered, with the cancel, refund and failed-payment paths.

Order lifecycle: state diagram of Start, Placed, Payment pending, Payment failed, Paid and 6 more▶ Play the story
Open in Plotix A copy you can edit, or ask the agent to change.
Plotix's agent drew it from this request

Draw a state diagram of an online order: placed, payment pending, paid, packed, shipped, delivered; payment failed, cancelled, return requested, refunded. Label each transition with the event that causes it.

What's in it
Order lifecycle: state diagram of Start, Placed, Payment pending, Payment failed, Paid and 6 more

How the parts connect

More on state diagrams.

Related examples

OAuth login with PKCE: sequence diagram of Browser, React SPA, Authorization server and App API
OAuth login with PKCESequence · How a single-page app signs a user in with OAuth 2.0 authorization code and PKCE, from th…
Stripe checkout and webhook: flow diagram of Shopper starts checkout, Create Checkout Session, Redirect shopper to Stripe, Payment succeeds?, Card declined or error and 5 more
Stripe checkout and webhookFlow · The steps from a cart to a paid order with Stripe Checkout, including the webhook that co…
Serverless API on AWS: deployment diagram of CloudFront, API Gateway, Lambda functions, Cognito user pool, CloudWatch Logs and 4 more
Serverless API on AWSDeployment · Where a serverless web API runs on AWS: CloudFront and S3 for the site, API Gateway and L…