PixelOkay
State Machine DesignerVisual logic, made clear.
Works locally
Tools
DEVELOPER TOOLS / VISUAL WORKSPACE

State Machine Designer

Build finite-state machines, test events and conditions, and export diagrams or portable definitions—all on your device.

No signup · No uploads · Offline after load
DESIGN
100%
Drag states to arrange · Drag background to pan · Shift+arrow nudges 10px
LIVE TESTING

Simulator Draft

Select an available event to test a transition.
Why is an event blocked?
Test context Change variables to test guards

Using State Machine Designer

Add states and event transitions, choose an initial state and configure supported guards or assignments. Simulate events, inspect blocked transitions and save project JSON alongside diagrams, tables or traces.

This tool supports flat machines rather than hierarchical statecharts, arbitrary JavaScript guards or full SCXML semantics. Bounded test-path exploration and QA reports are not formal proofs. Browser drafts can fail or be cleared, so retain editable JSON backups.

Choose an editable finite-state machine or a review output

Practice: a two-state start-stop machine

  1. Create Idle and Running states and choose Idle as the initial state.
  2. Add a start event from Idle to Running and a stop event back to Idle.
  3. Simulate those events, inspect the trace and save JSON before adding guards or assignments.

This is an authored modeling exercise, not a formal proof or an executed production controller.

State machine questions

Can I use arbitrary JavaScript guards or nested statecharts?

No. Guards and assignments use supported operators and primitive values, and the model is flat rather than hierarchical. Review transition priority and conditions within that scope.

Does a successful simulation prove every possible path is correct?

No. Simulation and bounded test-path exploration inspect particular conditions and paths. Their reports are not formal verification or full SCXML conformance. Keep the editable project and review untested cases separately.

Related tools