# GraphMaquina > GraphMaquina builds typed, graph-based state machines for Java 21. This is GraphMaquina 2.0.6, the latest version. Start with the [documentation index](https://graphmaquina.dev/v/latest/index.md). [All pages in one file](https://graphmaquina.dev/llms-full.txt). ## Start here - [Overview](https://graphmaquina.dev/v/latest/guide.md): What GraphMaquina provides, the visual guide, requirements and artifacts - [Install and configure the build](https://graphmaquina.dev/v/latest/installation.md): Gradle and Maven configuration, Lombok, test source sets, multi-module builds - [Quickstart](https://graphmaquina.dev/v/latest/quickstart.md): A complete, runnable ticket machine and its first JUnit test - [Code generation and IDE setup](https://graphmaquina.dev/v/latest/generation.md): What the generator writes before javac runs, the first build and the IDE workflow ## Model your domain - [Graphs, annotations and bindings](https://graphmaquina.dev/v/latest/graph-model.md): Edges, identity, self-loops, guards, policies, structural rules, operations, markers, generated names, signatures - [Actions, guards and failure routes](https://graphmaquina.dev/v/latest/actions-and-failures.md): Action and guard contexts, operation input, domain failures, failsOn, recovery rules by failure kind - [Handle transition outcomes](https://graphmaquina.dev/v/latest/outcomes.md): The four outcome variants, status and code, records, journals, reactions and failed calls - [Check an operation before you call it](https://graphmaquina.dev/v/latest/eligibility.md): Whether an operation would be admitted now, and why not, through a facade or the DSL, without running it - [Programmatic DSL](https://graphmaquina.dev/v/latest/dsl.md): Building a graph and a machine without annotations - [Automatic transitions](https://graphmaquina.dev/v/latest/automatic-transitions.md): Edges the machine takes on its own after a commit, their order, advance, continuing failure routes, the limit and what the caller sees ## Asynchronous work - [Asynchronous work and timeouts](https://graphmaquina.dev/v/latest/async.md): Asynchronous actions and guards, machine.async, a runnable async example, reading the future - [Deadlines, cancellation and executors](https://graphmaquina.dev/v/latest/async-deadlines.md): Root and edge deadlines, timeouts and late completion, contexts in callbacks, executors, async tests ## Several machines - [Machine sets, cascades and watches](https://graphmaquina.dev/v/latest/coordination.md): Generated machine sets, peer views, cascades in one unit of work, watches after a peer commits - [Compose machines](https://graphmaquina.dev/v/latest/composition.md): Sub-machines: binding a machine to a state, parent lookups, starts, exits, interruptions, reuse - [Compose machines across modules and JARs](https://graphmaquina.dev/v/latest/cross-module-composition.md): Watches and sub-machines over a machine of another module or jar: what the producer publishes, lookups, sets, checks ## After the commit - [Commit, hooks, observers and persistence](https://graphmaquina.dev/v/latest/commit-and-persistence.md): The commit sequence, after-commit hooks, observers, state initialization, identity, database boundaries ## Observe and debug - [Debug a call with logs](https://graphmaquina.dev/v/latest/logs.md): The runtime's System.Logger output at DEBUG and TRACE - [The call's flow](https://graphmaquina.dev/v/latest/call-flow.md): Typed values every step of a call shares, values applied only on commit, and the call's trail - [Inspect graphs and export diagrams](https://graphmaquina.dev/v/latest/graph-inspection.md): Reading a definition, Graphviz export from code and from the build, topology queries - [Diagnostics and troubleshooting](https://graphmaquina.dev/v/latest/diagnostics.md): Every SG diagnostic code and common build problems - [Runtime exceptions](https://graphmaquina.dev/v/latest/runtime-exceptions.md): Every exception the library throws, its phase, its accessors and what to investigate ## Test your machines - [Testing GraphMaquina machines](https://graphmaquina.dev/v/latest/testing.md): graphmaquina-test: entry points, identity checks, goldens, snapshots, what a check does not prove - [Testing samples: graphs, outcomes, probes and async](https://graphmaquina.dev/v/latest/testing-samples.md): Verified samples for graph, outcome, failure, recorder, probe, input and controlled async assertions - [Testing samples: recovery, sub-machines, automatic transitions and the call's flow](https://graphmaquina.dev/v/latest/testing-advanced.md): Verified samples for recovery rules, sub-machines and the flow and trail of a call, and the assertions on automatic transitions ## Migrate an existing machine - [Migrate a machine from another library](https://graphmaquina.dev/v/latest/migrate-from-another-library.md): The model, the procedure and every general state-machine concept: what GraphMaquina offers for it, where it is documented and what changes - [Migration patterns for concepts without an equivalent](https://graphmaquina.dev/v/latest/migration-patterns.md): Built and tested patterns for entry and exit actions, history states, parallel regions, timers and deferred events ## Build tooling reference - [Building with the typed graph API](https://graphmaquina.dev/v/latest/typed-annotations-build.md): The four build steps, where artifacts come from, the Gradle adapter - [The Maven adapter](https://graphmaquina.dev/v/latest/build-maven.md): The eight goals, the compiler execution they read, outputs, what the adapter requires and refuses - [Build troubleshooting and limits](https://graphmaquina.dev/v/latest/build-troubleshooting.md): Build failures, repeated builds and renames, generator limits ## Illustrations - [Documentation illustrations](https://graphmaquina.dev/v/latest/illustrations.md): The SVG illustrations the pages embed, and what each one shows ## Other versions - [2.0.5](https://graphmaquina.dev/v/2.0.5/llms.txt) - [2.0.4](https://graphmaquina.dev/v/2.0.4/llms.txt) - [2.0.3](https://graphmaquina.dev/v/2.0.3/llms.txt) - [2.0.2](https://graphmaquina.dev/v/2.0.2/llms.txt) - [2.0.1](https://graphmaquina.dev/v/2.0.1/llms.txt)