134 templates · page 2 of 2
UML & Software diagram templates
Class, sequence, state, use-case, component, deployment.
Class Diagram (Nomnoml)
A small class hierarchy in nomnoml's concise text syntax.
NomnomlRequirements (Mermaid)
Requirements and the elements that satisfy them.
MermaidStrategy Pattern (UML Class)
Interchangeable algorithms behind a common interface.
MermaidTCP Connection States
Simplified TCP connection lifecycle as a state machine.
MermaidLogin Sequence (PlantUML)
A username/password login with session creation.
PlantUMLOAuth 2.0 Authorization Code Flow — Simplified
Sequence of the OAuth authorization-code grant.
MermaidOrder Lifecycle (PlantUML State)
States of an order from pending to delivered or refunded.
PlantUMLPayments Domain (PlantUML Class)
Payment, customer and method classes with an enum.
PlantUMLOnline Banking (PlantUML Use Case)
Actors and use cases for an online banking system.
PlantUMLMVC Pattern (Nomnoml)
Model-View-Controller interactions.
NomnomlCheckout Sequence (PlantUML)
Cart, payment gateway and order service interactions.
PlantUMLRuntime Objects (PlantUML)
An object diagram of a running configuration.
PlantUMLRepository Pattern (PlantUML)
A generic repository interface with implementations.
PlantUMLObserver Pattern (Nomnoml)
Subject notifying its observers.
NomnomlState Pattern (Nomnoml)
A context delegating to interchangeable states.
NomnomlTraffic Light (State Machine)
The cyclic states of a traffic light.
State machine (FSM)Payment Retry (PlantUML Sequence)
A payment that retries after a gateway timeout.
PlantUMLVending Machine (State Machine)
Coin collection and dispensing states.
State machine (FSM)Elevator (State Machine)
Movement and door states of a lift.
State machine (FSM)Game Session (State Machine)
Menu, play, pause and game-over states.
State machine (FSM)Connection Lifecycle (State Machine)
Connect, drop and reconnect behaviour.
State machine (FSM)E-commerce Domain (Mermaid Class)
Customer, order, item and product classes.
MermaidThermostat (State Machine)
Heating and cooling around a setpoint.
State machine (FSM)Composite Pattern (Nomnoml)
Tree of components with leaves and composites.
NomnomlStrategy Pattern (Nomnoml)
A context choosing between strategies.
NomnomlDecorator Pattern (Nomnoml)
Wrapping a component to add behaviour.
NomnomlPedestrian Crossing (State Machine)
Signal states for a pelican crossing.
State machine (FSM)Two-Factor Login (Mermaid Sequence)
Password plus one-time code sign-in.
MermaidCache-Aside Read (PlantUML Sequence)
A cache miss falling through to the database.
PlantUMLTCP Connection (PlantUML State)
Simplified TCP connection states.
PlantUMLFactory Method (Nomnoml)
A creator producing concrete products.
NomnomlPackage diagram — ports and adapters, with the ArchUnit rule that enforces it
UML package diagram of a Java service laid out as hexagonal / ports-and-adapters architecture, showing every compile-time «use» and «realise» dependency between adapter, application and domain packages together with the ArchUnit layeredArchitecture test that fails the build when an arrow points outward.
NomnomlState machine — HTTP/2 stream lifecycle (RFC 9113 §5.1)
The normative HTTP/2 stream state machine from RFC 9113 §5.1 — idle, reserved local/remote, open, half-closed local/remote and closed — with all twenty transitions labelled by the frame that causes them (HEADERS, PUSH_PROMISE, END_STREAM, RST_STREAM) and by whether it is sent or received.
State machine (FSM)State machine — one SQS message, at-least-once delivery and the DLQ
State machine for a single Amazon SQS standard-queue message showing available, in flight, deleted, expired and moved-to-dead-letter-queue, with the visibility timeout, the ChangeMessageVisibility heartbeat, the four-day retention period and the maxReceiveCount guard that decides redelivery versus redrive.
State machine (FSM)