State machine diagrams (also called statechart or state transition diagrams) show the possible states of a system and the events or conditions that cause transitions between them. They are fundamental in UI design, protocol engineering, game development, and embedded systems. viz42 generates clean state diagrams with proper initial/final states, labeled transitions, and guard conditions.
E-commerce order state machine: starts at Created, payment received goes to Paid, then Preparing when warehouse picks it, then Shipped with tracking number, then Delivered on confirmation. From Paid or Preparing the customer can request cancellation going to Cancelled. From Delivered, return request goes to Returned
Yes. Describe composite states in your prompt (e.g., 'Processing contains sub-states Validating and Executing') and viz42 will generate nested state diagrams.
Absolutely. Include conditions like 'if payment valid' or 'when timer expires' in your description and they will appear as transition labels.
State diagrams focus on the states a system can be in and what triggers changes. Flowcharts focus on the sequence of steps to complete a task. State diagrams are reactive; flowcharts are procedural.
AI State Machine Diagram Generator — Read practical guides — Try it free