technicaldiagrams.com
← Flows

State machine

Name valid states and the events that change them.

State machineExplain a job moving through queued, running, and terminal states. All values are illustrative example data.The lifecycle of a jobEvents are labels on transitionsQueuedRunningCompletestartfinishreprocess
Live SVG · all content is illustrative

Make it yours

Edit labels & content

Change the text directly. Use the scene editor to move or add elements.

Edit individual elements

Choose a shape or text element, then change its properties. Related labels and connectors have separate coordinates.

Edit scene JSON

Change positions, dimensions, paths, and labels. Apply validates the scene before changing the preview. Primitive reference ↗

Review this diagram

These ratings help you compare how an example looks and how much work it takes to change. They are initial assessments of the example, not guarantees of correctness.

Appearance 89/100Ease of changes 82/100Overall 86/100Initial assessment

Your scores and review history stay in this browser. Export reviews to keep a copy. Read the rubric.

    Use this when

    Explain a job moving through queued, running, and terminal states.

    Choose another form when

    You need timing or probabilities for transitions.

    Built from

    NodeConnectorLabel

    Named transitions carry meaning; feedback loops add routing work.

    This example uses explicit positions. Check labels and connections after changing its content.

    Give your agent this reference

    Use the example to show your agent the form you want. Describe your system or provide your source material, then ask it to generate an adapted diagram and inspect the result.

    Includes the reference URL, current scene, and settings. Paste it into your own agent.

    Read the agent workflow ↗

    Take the source

    The SVG is self-contained. The JSON preserves editable primitives and your presentation settings. Labels remain text; shapes remain vectors.

    Original scene JSON ↗
    Controls, limits, and embedding ↗