FlowDiagram
13 templates

Software engineering & state machines templates

Git workflows, code review, on-call, and state diagrams for common software objects — drawn as flowcharts. Every one opens as a real, editable diagram — restyle it, extend it and export it as your own. See also the system architecture diagram tool.

All 13 software engineering & state machines templates

maindevelopfeature bran…Pull request…release bran…QA pass?

Git branching workflow

Feature branches, pull requests, release branches and hotfixes — a GitFlow-style model for teams that ship versioned releases.

Mermaid
Developer opens…CI: build, t…Checks pass?Fix & pushAuto-assign…Review

Code review process

From opening a pull request to merge: automated checks, reviewer assignment, feedback rounds and approval rules.

Mermaid
CreatedPending paym…PaidCancelledProcessingRefunded

Order state machine

Every state an e-commerce order can be in and the transitions between them — a classic state diagram drawn as a flowchart.

Mermaid
CreatedBacklogTo doIn progressBlockedIn review

Issue tracker ticket lifecycle

The states of a Jira-style issue and who moves it between them.

Mermaid
Rotation sta…Handoff meet…Review open…Primary & se…Page receive…Shift over?

On-call rotation & handoff

Weekly on-call handoff, escalation policy and post-shift review for an engineering team.

Mermaid
Breaking cha…Design v2 en…Ship v2 alon…Docs & migra…Deprecation…Email API co…

API versioning & deprecation

Introducing a breaking API change safely: new version, migration period, sunset headers and removal.

Mermaid
Schema chang…Expand: add…Deploy app w…Backfill new…Backfill com…Fix mismatch…

Zero-downtime database migration

The expand-migrate-contract pattern for changing a column or table without taking the app down.

Mermaid
App opensConnectingHandshake ok?Wait with ex…Send auth to…Authorised?

WebSocket connection lifecycle

Connect, authenticate, heartbeat, reconnect with backoff — the client state machine for real-time apps.

Mermaid
Read requestIn cache?Near expiry?Return cache…Return value…Lock acquire…

Cache-aside read & write path

How an application reads and writes through a cache with TTLs and invalidation, including stampede protection.

Mermaid
Book trip re…Reserve flig…Flight ok?Booking fail…Reserve hotelHotel ok?

Distributed transaction saga

Booking a trip across flight, hotel and payment services with compensating actions when a step fails.

Mermaid
Pick up taskPull latest…Create short…Small commit…Feature inco…Wrap code be…

Trunk-based development workflow

How teams practise trunk-based development: short-lived branches, feature flags for unfinished work, fast CI checks and continuous deployment from main.

Mermaid
Incident res…Severity SEV…Short incide…Assign postm…Collect timelin…Quantify imp…

Incident postmortem process

A blameless postmortem after a production incident: build the timeline, find contributing causes, agree action items, review, publish and track to completion.

Mermaid
Ready to rel…Collect comm…Any breaking…Bump MAJOR v…Any new feat…Bump MINOR v…

Semantic versioning release process

Cutting a release with semantic versioning: classify changes as major, minor or patch from conventional commits, bump the version, tag, publish and write the changelog.

Mermaid

Other template categories