Design: State Diagram Design for a Simple Order Processing System
Design the state diagram and explain transitions for order processing only. Implementation details and UI design are out of scope.
Functional Requirements
FR1: Model the states of an order from creation to completion
FR2: Include states: Created, Paid, Shipped, Delivered, Cancelled
FR3: Allow transitions only in logical order (e.g., cannot ship before payment)
FR4: Support cancellation from certain states
FR5: Visualize state transitions clearly
Non-Functional Requirements
NFR1: Diagram must be easy to understand for non-technical stakeholders
NFR2: Must accurately represent all valid state transitions
NFR3: Should be scalable to add more states in future
NFR4: Use industry standard notation for state diagrams