PlantUML Online

  • HOME
  • ARCHIVES
  • LATEST
  • GALLERY
  • CATEGORIES
  • LINKS
  • ABOUT
  • EN
    • 简体中文
    • 日本語
    • Русский
    • 繁體中文 soon
    • 한국어 soon
    • Français soon
    • Deutsch soon
    • Español soon
  • HOME
  • ARCHIVES
  • LATEST
  • GALLERY
  • CATEGORIES
  • LINKS
  • ABOUT
163
Posts
New window
PlantUML Online
Archives
puml.online
163
Posts
Archives
  • 2026 Dec 7
  • 2026 Nov 21
  • 2026 Oct 27
  • 2026 Sep 28
  • 2026 Aug 14
  • 2026 Jul 66
Categories
  • tutorial 87
  • diagram-types 16
  • ecosystem 12
  • case-study 11
  • engineering 9
  • integration 9
  • advanced 8
  • styling 4
  • preprocessing 4
  • security 3
  • Activity diagrams: decision and merge nodes

    Activity diagrams: decision and merge nodes

    IntroductionActivity diagrams model business processes in a system. The core elements are decision nodes (branching logic) and merge nodes (converging paths). Both are drawn as diamonds: a decision...
      2026-09-09  
    • tutorial 
    Read moreActivity diagrams: decision and merge nodes 
  • Activity diagrams: parallel fork/join

    Activity diagrams: parallel fork/join

    IntroductionParallel activity diagrams express a scenario where multiple tasks execute concurrently and then converge. Both PlantUML and Mermaid support fork/join-style syntax, though their de...
      2026-09-10  
    • tutorial 
    Read moreActivity diagrams: parallel fork/join 
  • Activity diagrams: send signal

    Activity diagrams: send signal

    IntroductionIn UML activity diagrams, a signal represents an asynchronous, broadcastable event notification: the sender emits the signal and immediately continues its own flow without waiting for a...
      2026-11-27  
    • tutorial 
    Read moreActivity diagrams: send signal 
  • Activity diagrams: swimlanes / partitions

    Activity diagrams: swimlanes / partitions

    IntroductionActivity diagrams describe the flow of actions in a business process. Swimlanes group actions by responsible party or system partition, making the flow clear at a glance. PlantUML has n...
      2026-09-08  
    • tutorial 
    Read moreActivity diagrams: swimlanes / partitions 
  • Activity diagrams: time events

    Activity diagrams: time events

    IntroductionA “time event” is one of the most frequently overlooked semantics in UML activity diagrams: a waiting activity does not wait forever, it is interrupted by a time condition and takes a d...
      2026-11-28  
    • tutorial 
    Read moreActivity diagrams: time events 
  • ArchiMate elements and relationships

    ArchiMate elements and relationships

    IntroductionArchiMate is an enterprise architecture modeling language that splits a system into three layers of elements — business, application, and technology — plus a set of relationship types. ...
      2026-10-30  
    • tutorial 
    Read moreArchiMate elements and relationships 
  • Architecture diagrams: icons and grouping

    Architecture diagrams: icons and grouping

    IntroductionArchitecture diagrams are purpose-built for software architecture documentation, supporting icons, hierarchical grouping, and cross-layer service references. PlantUML uses rectangle...
      2026-10-08  
    • tutorial 
    Read moreArchitecture diagrams: icons and grouping 
  • Typesetting math formulas with PlantUML and Mermaid

    Typesetting math formulas with PlantUML and Mermaid

    IntroductionFormulas show up in architecture diagrams more often than you would expect: the quadratic formula, a discount rule, an SLA percentage, the expected wait time of a queue. The usual worka...
      2026-10-24  
    • tutorial 
    Read moreTypesetting math formulas with PlantUML and Mermaid 
  • Block diagrams: block-beta columns

    Block diagrams: block-beta columns

    IntroductionBlock diagrams describe the structural composition of a system, ideal for showing hardware/software layers or data flow. Both PlantUML and Mermaid support block diagrams, though th...
      2026-10-05  
    • tutorial 
    Read moreBlock diagrams: block-beta columns 
  • C4 Model: Component Diagrams

    C4 Model: Component Diagrams

    IntroductionThe C4 model is a hierarchical approach to visualizing software system architecture — Context, Container, Component, and Code. This article focuses on Component diagrams, showing how to...
      2026-09-28  
    • tutorial 
    Read moreC4 Model: Component Diagrams 
  • C4 model: Container diagrams

    C4 model: Container diagrams

    IntroductionThe C4 model provides a layered approach to describing software architecture — Context, Container, Component, and Code — with Container diagrams focusing on the key application processe...
      2026-09-27  
    • tutorial 
    Read moreC4 model: Container diagrams 
  • C4 model: Context diagrams

    C4 model: Context diagrams

    IntroductionThe C4 model is a layered approach to visualising software architecture — Context → Container → Component → Code. The Context diagram is the highest level, showing system boundaries, in...
      2026-09-26  
    • tutorial 
    Read moreC4 model: Context diagrams 
  • Class diagrams: abstract vs concrete classes

    Class diagrams: abstract vs concrete classes

    IntroductionAn abstract class cannot be instantiated directly — it defines a skeleton of attributes and methods that its subclasses must implement. A concrete class inherits from the abstract class...
      2026-10-16  
    • tutorial 
    Read moreClass diagrams: abstract vs concrete classes 
  • Class diagrams: generics and collection types

    Class diagrams: generics and collection types

    IntroductionGenerics and collection types are core concepts in object-oriented design. In class diagrams, generics constrain the parameterized types of class members, return values, and parameters....
      2026-09-04  
    • tutorial 
    Read moreClass diagrams: generics and collection types 
  • Class diagrams: associative classes

    Class diagrams: associative classes

    IntroductionIn a class diagram, most relationships are just “lines” — draw an association between Student and Course, put a multiplicity at each end, and you’re done. But some relationships carry a...
      2026-12-01  
    • tutorial 
    Read moreClass diagrams: associative classes 
  • Class diagrams: multiplicity

    Class diagrams: multiplicity

    IntroductionThe little numbers you write at the end of an association line in a class diagram — 1, 0..1, * — are the multiplicity. They answer a very practical question: standing on side A, how man...
      2026-11-06  
    • tutorial 
    Read moreClass diagrams: multiplicity 
  • Class diagrams: packages and namespaces

    Class diagrams: packages and namespaces

    IntroductionClass diagrams don’t just show relationships — they also use packages or namespaces to organize model elements into a hierarchical structure. This article uses the same scenario to comp...
      2026-09-03  
    • tutorial 
    Read moreClass diagrams: packages and namespaces 
  • Class diagrams: qualified associations

    Class diagrams: qualified associations

    IntroductionAn ordinary class-diagram association only says “A is related to B”. But many relationships are more precise than that: A points at one specific member of a set of Bs via some key. A Sh...
      2026-12-02  
    • tutorial 
    Read moreClass diagrams: qualified associations 
  • Class diagrams: 6 UML relationship arrows

    Class diagrams: 6 UML relationship arrows

    IntroductionClass diagrams are a core part of UML, describing the static relationships between classes in a system. Both PlantUML and Mermaid make it easy to draw the six most common relationship t...
      2026-09-01  
    • tutorial 
    Read moreClass diagrams: 6 UML relationship arrows 
  • Class diagrams: stereotypes and interfaces

    Class diagrams: stereotypes and interfaces

    IntroductionClass diagrams are the core of object-oriented modeling. Beyond ordinary classes, stereotypes (such as <<interface>>, <<abstract>>, <<service>>) mark...
      2026-09-02  
    • tutorial 
    Read moreClass diagrams: stereotypes and interfaces 
  • Class vs ER diagram: domain modeling

    Class vs ER diagram: domain modeling

    IntroductionClass diagrams and ER diagrams both describe structured data, but with different focuses: class diagrams target object-oriented design with classes, attributes, and methods; ER diagrams...
      2026-10-14  
    • tutorial 
    Read moreClass vs ER diagram: domain modeling 
  • Component diagrams: interfaces and dependencies

    Component diagrams: interfaces and dependencies

    IntroductionComponent diagrams are a core part of architecture documentation, showing module boundaries, interface contracts, and dependency relationships. PlantUML has native component and interfa...
      2026-10-17  
    • tutorial 
    Read moreComponent diagrams: interfaces and dependencies 
  • Component diagrams: ports

    Component diagrams: ports

    IntroductionA component on a component diagram is rarely just “a box with one arrow” — it usually exposes a number of ports, each with its own name and direction: inbound ports receive requests fro...
      2026-11-22  
    • tutorial 
    Read moreComponent diagrams: ports 
  • Deployment diagrams: 3D boxes

    Deployment diagrams: 3D boxes

    IntroductionUML deployment diagrams use a very particular kind of box: a 3D cube with a slanted lid. It is not a rounded rectangle with a drop shadow — it is an actual cube projection, with the top...
      2026-12-03  
    • tutorial 
    Read moreDeployment diagrams: 3D boxes 
  • Deployment diagrams: cloud provider icons

    Deployment diagrams: cloud provider icons

    IntroductionWhen you draw an architecture diagram, a plain box labelled “server” rarely tells the reader which cloud it belongs to. PlantUML ships official symbol libraries (stdlib) for AWS, Azure ...
      2026-11-24  
    • tutorial 
    Read moreDeployment diagrams: cloud provider icons 
  • Deployment diagrams: nodes and artifacts

    Deployment diagrams: nodes and artifacts

    IntroductionA deployment diagram visualizes the physical layout of a software system across hardware nodes and the artifacts deployed on each. This post renders the same deployment structure in bot...
      2026-10-18  
    • tutorial 
    Read moreDeployment diagrams: nodes and artifacts 
  • ditaa: ASCII art to diagram

    ditaa: ASCII art to diagram

    Introductionditaa is a notation for “describing shapes as text”: you hand-write +---+ borders and | verticals in the source, and the backend renders them into an actual diagram. PlantUML ships the ...
      2026-10-28  
    • tutorial 
    Read moreditaa: ASCII art to diagram 
  • EBNF Grammar Diagrams: Turning a Formal Grammar into a Readable Derivation Chart

    EBNF Grammar Diagrams: Turning a Formal Grammar into a Readable Derivation Chart

    IntroductionEBNF is the standard notation for describing the syntax of a formal language: rule after rule, written with great precision — and read like a wall of symbols. In expr = term , { ( ...
      2026-10-26  
    • tutorial 
    Read moreEBNF Grammar Diagrams: Turning a Formal Grammar into a Readable Derivation Chart 
  • ER diagrams: cardinality and identifying relations

    ER diagrams: cardinality and identifying relations

    IntroductionER diagrams (Entity-Relationship diagrams) describe entities, attributes, and their connections in a data model. Cardinality expresses the numerical constraint between two entities, whi...
      2026-09-15  
    • tutorial 
    Read moreER diagrams: cardinality and identifying relations 
  • ER diagrams: attributes and keys

    ER diagrams: attributes and keys

    IntroductionThe real payload of an ER diagram lives inside the entities: the attributes, and the primary / foreign / unique key constraints among them. Those constraints decide how the ta...
      2026-11-12  
    • tutorial 
    Read moreER diagrams: attributes and keys 
  • ER diagrams: weak entities

    ER diagrams: weak entities

    IntroductionA weak entity is one that does not have a full primary key of its own and depends on a strong (owner) entity for its identification. Its primary key is composed of a partial key plus th...
      2026-09-16  
    • tutorial 
    Read moreER diagrams: weak entities 
  • Using a flowchart as a state machine: PlantUML and Mermaid

    Using a flowchart as a state machine: PlantUML and Mermaid

    IntroductionState machines have a dedicated diagram type, so drawing one should obviously use state diagram syntax. In practice, three things keep pushing you back to flowchart: the toolchain only ...
      2026-12-04  
    • tutorial 
    Read moreUsing a flowchart as a state machine: PlantUML and Mermaid 
  • Flowcharts: click events and tooltips

    Flowcharts: click events and tooltips

    IntroductionFlowcharts are not just static diagrams — they can embed hyperlinks and click events, letting readers click a node to jump to a page or trigger a tooltip. This post shows how both engin...
      2026-09-14  
    • tutorial 
    Read moreFlowcharts: click events and tooltips 
  • Flowcharts: LR / TB / RL / BT directions

    Flowcharts: LR / TB / RL / BT directions

    IntroductionFlowcharts are one of the most commonly used diagram types. Both PlantUML and Mermaid let you specify the layout direction with a simple directive: left to right direction (or LR) and t...
      2026-09-12  
    • tutorial 
    Read moreFlowcharts: LR / TB / RL / BT directions 
  • Flowcharts: edge styles and arrows

    Flowcharts: edge styles and arrows

    IntroductionEdges in a flowchart are the lines connecting nodes — they can be undirected, directed with arrows, dashed for optional paths, or bold for emphasis. Both PlantUML and Mermaid support th...
      2026-09-13  
    • tutorial 
    Read moreFlowcharts: edge styles and arrows 
  • Flowcharts: linkStyle interpolation

    Flowcharts: linkStyle interpolation

    IntroductionThe connectors in a flowchart are the most overlooked and most semantically loaded part of the drawing: when the happy path, the error path and the audit path all look the same, readers...
      2026-11-11  
    • tutorial 
    Read moreFlowcharts: linkStyle interpolation 
  • Flowcharts: classDef styling

    Flowcharts: classDef styling

    IntroductionOnce a flowchart has more than a couple of branches, the “happy path” and the “failure path” start to look identical, and readers have to read every label to tell them apart. Coloring t...
      2026-11-10  
    • tutorial 
    Read moreFlowcharts: classDef styling 
  • Flowcharts: Subgraph Grouping

    Flowcharts: Subgraph Grouping

    IntroductionFlowcharts describe business or system processes. When a diagram grows large, grouping related steps into subgraph blocks makes it easier to read and maintain. This post shows how to wr...
      2026-09-11  
    • tutorial 
    Read moreFlowcharts: Subgraph Grouping 
  • Gantt charts: axis formats (date / duration)

    Gantt charts: axis formats (date / duration)

    IntroductionA Gantt chart’s horizontal axis is a time axis, so how the dates are parsed and how the ticks are labelled decides whether the chart reads well. PlantUML has no dedicated axis-format di...
      2026-11-14  
    • tutorial 
    Read moreGantt charts: axis formats (date / duration) 
  • Gantt charts: task dependencies

    Gantt charts: task dependencies

    IntroductionGantt charts are one of the most widely used project management visuals, showing task start dates, durations, and dependencies. This tutorial covers how to draw Gantt charts with depend...
      2026-09-18  
    • tutorial 
    Read moreGantt charts: task dependencies 
  • Gantt charts: todayMarker

    Gantt charts: todayMarker

    IntroductionGantt charts are a staple of project management, visualizing task schedules and progress. todayMarker draws a vertical line at the current date, making it immediately clear how each tas...
      2026-09-17  
    • tutorial 
    Read moreGantt charts: todayMarker 
  • Gantt chart vs timeline diagram

    Gantt chart vs timeline diagram

    IntroductionGantt charts and timelines are two common visualizations in project management. Both PlantUML and Mermaid support these diagram types, but their syntax and output differ. This post comp...
      2026-10-12  
    • tutorial 
    Read moreGantt chart vs timeline diagram 
  • Git graphs: branches, merges, cherry-pick

    Git graphs: branches, merges, cherry-pick

    IntroductionGit graph diagrams help developers understand branch creation, merge conflicts, and cherry-pick operations. Both PlantUML and Mermaid support text-based Git branch diagrams, making them...
      2026-09-20  
    • tutorial 
    Read moreGit graphs: branches, merges, cherry-pick 
  • Git graphs: cherry-pick and revert

    Git graphs: cherry-pick and revert

    Introductioncherry-pick and revert are the two Git commands whose history is hardest to remember: the first copies a commit onto another branch, the second undoes an old commit with a new one. A br...
      2026-11-03  
    • tutorial 
    Read moreGit graphs: cherry-pick and revert 
  • Git graphs: tags

    Git graphs: tags

    IntroductionA tag is a permanent marker on a commit — v1.0, v2.0-rc1 and so on. In a Git history graph a tag usually shows up as a labelled node, telling the reader “this line is a release point”. ...
      2026-11-21  
    • tutorial 
    Read moreGit graphs: tags 
  • User journeys: sections, tasks, actors

    User journeys: sections, tasks, actors

    IntroductionJourney diagrams visualize the steps different actors complete across phases of a process. Both PlantUML and Mermaid support this diagram type, but their syntax differs significantly. T...
      2026-09-21  
    • tutorial 
    Read moreUser journeys: sections, tasks, actors 
  • Render JSON / YAML as a diagram

    Render JSON / YAML as a diagram

    IntroductionRaw config and API payloads are tedious to read: a single order JSON expands into a dozen indented lines, and a YAML deployment manifest into dozens of nested ones. Both engines have a ...
      2026-10-23  
    • tutorial 
    Read moreRender JSON / YAML as a diagram 
  • Kanban boards: cards and columns

    Kanban boards: cards and columns

    IntroductionA Kanban Board visualizes workflow stages using columns and cards. This article shows how to render the same board using PlantUML salt syntax and Mermaid’s native kanban diagram type. P...
      2026-10-07  
    • tutorial 
    Read moreKanban boards: cards and columns 
  • Mermaid Flowchart advanced: node shapes, edges, Subgraph grouping, and Layout directions

    Mermaid Flowchart advanced: node shapes, edges, Subgraph grouping, and Layout directions

    Mermaid’s Flowchart is its flagship feature — closer to hand-drawn diagrams than PlantUML’s Activity diagram. This post covers everything: shapes, edges, Subgraph, directions, styling, and how it ...
      2026-08-07  
    • ecosystem 
    Read moreMermaid Flowchart advanced: node shapes, edges, Subgraph grouping, and Layout directions 
  • Mermaid Gantt charts: project timelines, milestones, and dependencies

    Mermaid Gantt charts: project timelines, milestones, and dependencies

    Mermaid’s Gantt chart is a project management powerhouse — describe task timelines, milestones, and dependencies in text, embed directly in docs. PlantUML’s Gantt support is weak; Mermaid is the c...
      2026-08-08  
    • ecosystem 
    Read moreMermaid Gantt charts: project timelines, milestones, and dependencies 
  • Mermaid mindmaps: the complete syntax template

    Mermaid mindmaps: the complete syntax template

    Mermaid mindmaps reached stable in Mermaid 10.5. They use indentation for hierarchy and shape prefixes for node shape — cleaner than PlantUML’s * / ** syntax. This article gives you a copy-pa...
      2026-09-19  
    • diagram-types 
    Read moreMermaid mindmaps: the complete syntax template 
  • Mermaid State Diagram: state machines, transitions, and concurrent states

    Mermaid State Diagram: state machines, transitions, and concurrent states

    Mermaid’s State Diagram lets you describe state machines in plain text — faster than Visio, more precise than Flowchart for describing entity lifecycles. Ideal for: order status, user lifecycle, a...
      2026-08-08  
    • ecosystem 
    Read moreMermaid State Diagram: state machines, transitions, and concurrent states 
  • Mindmaps: node shapes

    Mindmaps: node shapes

    IntroductionMind maps are a popular way to organize ideas hierarchically. Both PlantUML and Mermaid support drawing them from plain text. This post compares their node shape syntax. PlantUMLPlantUM...
      2026-09-29  
    • tutorial 
    Read moreMindmaps: node shapes 
  • When to use mindmap vs flowchart

    When to use mindmap vs flowchart

    IntroductionMind maps and flowcharts are both popular visual tools, but they serve different purposes: mind maps are best for brainstorming and organizing ideas in a hierarchical, radial structure;...
      2026-10-11  
    • tutorial 
    Read moreWhen to use mindmap vs flowchart 
  • Network topology diagrams with PlantUML and Mermaid

    Network topology diagrams with PlantUML and Mermaid

    IntroductionA network topology diagram is one of the most common artifacts in operations and architecture docs: it shows how servers and links are arranged across the public internet, a DMZ, and th...
      2026-10-22  
    • tutorial 
    Read moreNetwork topology diagrams with PlantUML and Mermaid 
  • Object diagrams: instance snapshots

    Object diagrams: instance snapshots

    IntroductionAn Object Diagram records concrete instances and their attribute values at a specific point in time, serving as a structural snapshot of a class diagram. While class diagrams model abst...
      2026-10-20  
    • tutorial 
    Read moreObject diagrams: instance snapshots 
  • Packet diagrams: fields and bits

    Packet diagrams: fields and bits

    IntroductionPacket diagrams are used to describe protocol header structures, byte layouts, and field semantics. This article compares PlantUML and Mermaid for drawing Packet diagrams. PlantUML12345...
      2026-10-06  
    • tutorial 
    Read morePacket diagrams: fields and bits 
  • Pie charts: titles and data labels

    Pie charts: titles and data labels

    IntroductionPie charts visualize proportions of parts against a whole and are a staple of data visualization. This article compares PlantUML and Mermaid syntax for drawing pie charts with titles an...
      2026-09-19  
    • tutorial 
    Read morePie charts: titles and data labels 
  • PlantUML activity diagrams: branching to concurrent

    PlantUML activity diagrams: branching to concurrent

    Activity diagrams are often overlooked — they’re more powerful than flowcharts. This covers everything from basics to fork/join/exception handling. Activity vs Flowchart Dimension Flo...
      2026-07-29  
    • diagram-types 
    Read morePlantUML activity diagrams: branching to concurrent 
  • PlantUML with AI — prompt patterns for Copilot / Cursor auto-generation

    PlantUML with AI — prompt patterns for Copilot / Cursor auto-generation

    In 2025-2026, LLMs can already convert a 5-sentence description into PlantUML code. This post distils the prompt templates, common errors, debugging tricks, and human-review rules I’ve tested. LL...
      2026-07-30  
    • ecosystem 
    Read morePlantUML with AI — prompt patterns for Copilot / Cursor auto-generation 
  • 7 PlantUML anti-patterns

    7 PlantUML anti-patterns

    This isn’t about how to use PlantUML. It’s about seven ways that “work, but suck” — pulled from real PR reviews and rewrites of my own old diagrams. 1. One diagram, 200 linesThe most common one. ...
      2026-07-29  
    • advanced 
    Read more7 PlantUML anti-patterns 
  • Blue/Green / Canary / Feature Flag / A/B testing: traffic shift, rollback

    Blue/Green / Canary / Feature Flag / A/B testing: traffic shift, rollback

    Releasing a new version is not “push to all” — each of the four strategies has trade-offs. This is Blue/Green / Canary / Feature Flag / A/B test architecture, traffic shif...
      2026-07-30  
    • case-study 
    Read moreBlue/Green / Canary / Feature Flag / A/B testing: traffic shift, rollback 
  • Drawing clean architecture diagrams in C4 with PlantUML

    Drawing clean architecture diagrams in C4 with PlantUML

    C4 is a methodology that gives architecture diagrams a fixed storyboard; PlantUML is its best carrier. Here’s the shortest path from zero to productive. What is C4C4, from Simon Brown, splits arc...
      2026-07-29  
    • diagram-types 
    Read moreDrawing clean architecture diagrams in C4 with PlantUML 
  • CDN and edge cache architecture: cache strategies, breakdown/avalanche/penetration, Cache-Control practice

    CDN and edge cache architecture: cache strategies, breakdown/avalanche/penetration, Cache-Control practice

    CDN is more than “make images load fast” — it’s edge compute + cache strategy + security combined. This is CDN hierarchy, cache strategies, Cache-Control header deep-dive, three cache disasters an...
      2026-07-30  
    • case-study 
    Read moreCDN and edge cache architecture: cache strategies, breakdown/avalanche/penetration, Cache-Control practice 
  • PlantUML in CI/CD: GitHub Actions auto-render, PR checks, and drift detection

    PlantUML in CI/CD: GitHub Actions auto-render, PR checks, and drift detection

    PlantUML diagrams are code, but unlike regular code they have no lint/compile checks. This post covers: auto-render on every push, PR diagram diff comments, drift detection, and full CI pipel...
      2026-08-08  
    • engineering 
    Read morePlantUML in CI/CD: GitHub Actions auto-render, PR checks, and drift detection 
  • PlantUML + CI: 4 ways to keep diagrams from going stale

    PlantUML + CI: 4 ways to keep diagrams from going stale

    “Our architecture diagram is out of date” is a universal team pain. Here’s how to use CI to bind diagrams to the codebase — auto-check, auto-rerender, staleness alerts, PR thumbnails. The anti-pa...
      2026-07-29  
    • engineering 
    Read morePlantUML + CI: 4 ways to keep diagrams from going stale 
  • PlantUML CJK / Emoji / special-character rendering foot-guns and font setup

    PlantUML CJK / Emoji / special-character rendering foot-guns and font setup

    PlantUML’s default font DejaVu Sans only ships Latin glyphs. Chinese / Japanese / Korean / Emoji either render as boxes or vanish entirely. This is the font configuration field guid...
      2026-07-30  
    • styling 
    Read morePlantUML CJK / Emoji / special-character rendering foot-guns and font setup 
  • PlantUML CLI power user — batch, stdin/stdout, CI, incremental builds

    PlantUML CLI power user — batch, stdin/stdout, CI, incremental builds

    Most people stop at plantuml file.puml — but the command line can do far more than that. This post distils the “power user” play book: batching, CI, watch, pipes, custom pre-processing. The minim...
      2026-07-30  
    • integration 
    Read morePlantUML CLI power user — batch, stdin/stdout, CI, incremental builds 
  • PlantUML class diagrams: abstract, interface, association, dependency, qualifiers

    PlantUML class diagrams: abstract, interface, association, dependency, qualifiers

    The class diagram is the most-used, most-misused UML diagram. Easy to read in a single example; harder to draw when domain semantics get complex. This walks every relationship type once, end to en...
      2026-07-29  
    • diagram-types 
    Read morePlantUML class diagrams: abstract, interface, association, dependency, qualifiers 
  • PlantUML component & deployment diagrams: code to production

    PlantUML component & deployment diagrams: code to production

    Class diagrams show “how classes relate.” Component diagrams show “how files / modules assemble.” Deployment diagrams show “how nodes connect at runtime.” Stack the three — that’s the standar...
      2026-07-29  
    • diagram-types 
    Read morePlantUML component & deployment diagrams: code to production 
  • Embedding PlantUML in Confluence / Jira / Notion

    Embedding PlantUML in Confluence / Jira / Notion

    The team wiki is the biggest consumer of PlantUML diagrams. This is the field guide for getting .puml files rendered into clickable SVG inside Confluence / Jira / Notion, including the s...
      2026-07-30  
    • integration 
    Read moreEmbedding PlantUML in Confluence / Jira / Notion 
  • Data-driven PlantUML — generating diagrams from a database or API

    Data-driven PlantUML — generating diagrams from a database or API

    Use PlantUML + a few lines of script, so your diagrams always follow reality. Why data-driven?The most common embarrassment with business diagrams: A column gets added to the DB; the ER diagram ...
      2026-07-28  
    • advanced 
    Read moreData-driven PlantUML — generating diagrams from a database or API 
  • Database schema evolution: Flyway/Liquibase/Sqitch + PlantUML ER diagrams

    Database schema evolution: Flyway/Liquibase/Sqitch + PlantUML ER diagrams

    Database schema evolution is the backend’s most common source of breakage — add column, drop column, change type, change constraint, every time you need to plan “how to do this without downtime, h...
      2026-07-30  
    • case-study 
    Read moreDatabase schema evolution: Flyway/Liquibase/Sqitch + PlantUML ER diagrams 
  • PlantUML deployment diagrams: blue-green, canary, and rolling deployments

    PlantUML deployment diagrams: blue-green, canary, and rolling deployments

    Deployment diagrams describe the physical structure of your software — which servers, containers, and networks it runs on. PlantUML’s deployment view precisely captures servers, containers, networ...
      2026-08-08  
    • case-study 
    Read morePlantUML deployment diagrams: blue-green, canary, and rolling deployments 
  • Keeping PlantUML diagrams from rotting with unit tests

    Keeping PlantUML diagrams from rotting with unit tests

    PlantUML lives in .puml files and rots like code does — broken syntax, layout drift, diagrams out of sync with the architecture. This is the three-test approach that makes diagrams a first-class C...
      2026-07-30  
    • engineering 
    Read moreKeeping PlantUML diagrams from rotting with unit tests 
  • PlantUML in containers: Docker / Podman / multi-version isolation

    PlantUML in containers: Docker / Podman / multi-version isolation

    PlantUML deployment shape depends on usage scale. This is the trade-off between CLI, Docker, Podman, Kubernetes sidecar, plus security hardening, performance monitoring, and multi-version isolatio...
      2026-07-30  
    • engineering 
    Read morePlantUML in containers: Docker / Podman / multi-version isolation 
  • PlantUML in documentation sites — Hexo, MkDocs, Sphinx and Docusaurus

    PlantUML in documentation sites — Hexo, MkDocs, Sphinx and Docusaurus

    Diagrams in docs sites — the best approach depends on the framework. Here are the actual configs for 4 popular tools. Why does this need a dedicated post?PlantUML source and rendered output are s...
      2026-07-28  
    • integration 
    Read morePlantUML in documentation sites — Hexo, MkDocs, Sphinx and Docusaurus 
  • PlantUML in enterprise wikis — Lark / Confluence / Notion three approaches

    PlantUML in enterprise wikis — Lark / Confluence / Notion three approaches

    Enterprise docs are dense, easy to search, but rendering “PlantUML source + diagram” inside Lark / Confluence / Notion differs sharply. Below are three real approaches for the most-used ...
      2026-07-30  
    • integration 
    Read morePlantUML in enterprise wikis — Lark / Confluence / Notion three approaches 
  • PlantUML ER diagrams: from database schema to entity relationship diagrams

    PlantUML ER diagrams: from database schema to entity relationship diagrams

    ER (Entity Relationship) diagrams are the most important tool in database design. PlantUML’s ER diagram syntax turns your schema into a clean, version-controllable diagram that lives next to your ...
      2026-08-08  
    • diagram-types 
    Read morePlantUML ER diagrams: from database schema to entity relationship diagrams 
  • PlantUML ER diagrams: data modeling & table relationships

    PlantUML ER diagrams: data modeling & table relationships

    ER diagrams (entity-relationship) are usually the first step in database design. PlantUML’s ER syntax is weaker than Mermaid’s, but it works and stays in the same family as your other UML diagrams...
      2026-07-29  
    • diagram-types 
    Read morePlantUML ER diagrams: data modeling & table relationships 
  • PlantUML export post-processing: SVG to PDF / PPT / Markdown embedding

    PlantUML export post-processing: SVG to PDF / PPT / Markdown embedding

    PlantUML outputs SVG by default, but real projects need to embed diagrams in PDF, PPT, Word, Notion, and enterprise wikis. This is the post-processing script collection, foot-guns, and performance...
      2026-07-30  
    • integration 
    Read morePlantUML export post-processing: SVG to PDF / PPT / Markdown embedding 
  • Render PlantUML from code in Hexo (server-side / client-side)

    Render PlantUML from code in Hexo (server-side / client-side)

    Two ways to put PlantUML diagrams into a Hexo blog — server-side pre-render, or client-side live render. The questionYou have a Hexo blog. You want PlantUML diagrams to show up in your posts. How...
      2026-07-29  
    • integration 
    Read moreRender PlantUML from code in Hexo (server-side / client-side) 
  • PlantUML git lifecycle — pre-commit / CI / git-lfs / PR review

    PlantUML git lifecycle — pre-commit / CI / git-lfs / PR review

    PlantUML source + rendered output both live in a git repo. This post distils the end-to-end practice: edit puml → validate → auto-render → commit → CI → PR review → rebase → all smooth. Two kinds...
      2026-07-30  
    • engineering 
    Read morePlantUML git lifecycle — pre-commit / CI / git-lfs / PR review 
  • Putting PlantUML diagrams into PR reviews

    Putting PlantUML diagrams into PR reviews

    Diagrams usually get skipped during PR review because most teams keep them in Confluence or PowerPoint. Here’s how to push them through review the same way you push code. Why we don’t put diagram...
      2026-07-29  
    • engineering 
    Read morePutting PlantUML diagrams into PR reviews 
  • GraphQL API design: Schema / Resolver / N+1 / DataLoader / Federation

    GraphQL API design: Schema / Resolver / N+1 / DataLoader / Federation

    GraphQL solves REST’s over-fetching / under-fetching problem, but introduces N+1, caching, rate-limiting challenges. This is GraphQL Schema design principles, Resolver chains, DataLoader solv...
      2026-07-30  
    • case-study 
    Read moreGraphQL API design: Schema / Resolver / N+1 / DataLoader / Federation 
  • PlantUML rendering engine internals: 7 Graphviz/dot tuning knobs

    PlantUML rendering engine internals: 7 Graphviz/dot tuning knobs

    Most PlantUML diagrams (component, state, object, class) are laid out by Graphviz’s dot algorithm underneath. Understanding how dot works explains many “why does the diagram auto-arrange like that...
      2026-07-30  
    • advanced 
    Read morePlantUML rendering engine internals: 7 Graphviz/dot tuning knobs 
  • PlantUML in your IDE — VS Code, JetBrains, and Vim — three real workflows

    PlantUML in your IDE — VS Code, JetBrains, and Vim — three real workflows

    Writing puml code isn’t the hard part — seeing the result while you write is. This post lays out the three real workflows for VS Code / JetBrains / Vim. Pick an IDE based on scenario VS...
      2026-07-30  
    • integration 
    Read morePlantUML in your IDE — VS Code, JetBrains, and Vim — three real workflows 
  • PlantUML sequence diagram advanced: fragment, step, ref

    PlantUML sequence diagram advanced: fragment, step, ref

    Sequence-diagram grammar is interview-popular but underused in real codebases — most teams have no idea how to make these diagrams genuinely readable to reviewers. Here’s the full set. Fragment c...
      2026-07-29  
    • advanced 
    Read morePlantUML sequence diagram advanced: fragment, step, ref 
  • Interactive PlantUML SVG: click-through, tooltips, JS wiring

    Interactive PlantUML SVG: click-through, tooltips, JS wiring

    PlantUML’s output SVG is “dead” by default — view-only. But with map directives or post-process JS injection, the diagram becomes a navigation map: click a node to open docs, hover for a tooltip, ...
      2026-07-30  
    • advanced 
    Read moreInteractive PlantUML SVG: click-through, tooltips, JS wiring 
  • Getting Started with PlantUML: Why It Belongs in Your Toolbox

    Getting Started with PlantUML: Why It Belongs in Your Toolbox

    This is the inaugural post on puml.online, drafted with AI assistance. It serves as a content sample — feel free to borrow its structure, tone, and pacing when you write your own pieces. ...
      2026-07-15  
    • tutorial 
    Read moreGetting Started with PlantUML: Why It Belongs in Your Toolbox 
  • PlantUML as a structured JSON renderer — turn config / API responses / any JSON into a tree

    PlantUML as a structured JSON renderer — turn config / API responses / any JSON into a tree

    PlantUML’s underrated gem: render JSON / YAML as a structured tree diagram. One directive, zero boilerplate. Faster than hand-drawing Visio, cleaner than Graphviz dot, more truthful than Merm...
      2026-08-04  
    • advanced 
    Read morePlantUML as a structured JSON renderer — turn config / API responses / any JSON into a tree 
  • PlantUML JSON/YAML visualization & math notation

    PlantUML JSON/YAML visualization & math notation

    PlantUML doesn’t only draw diagrams: it can render JSON, YAML, LaTeX math, and EBNF grammar as visual structures. These views are gold for READMEs, API docs, and syntax references. JSON visualiza...
      2026-07-29  
    • preprocessing 
    Read morePlantUML JSON/YAML visualization & math notation 
  • Auth protocol sequence diagrams: JWT / OAuth2 / SAML / OpenID Connect

    Auth protocol sequence diagrams: JWT / OAuth2 / SAML / OpenID Connect

    The most common diagram in auth systems is the sequence diagram. This is the PlantUML sequence template for four major auth protocols (JWT, OAuth2 Authorization Code, OAuth2 PKCE, SAML 2.0, OpenID...
      2026-07-30  
    • security 
    Read moreAuth protocol sequence diagrams: JWT / OAuth2 / SAML / OpenID Connect 
  • Big PlantUML diagrams — subgraph, package, !include — staying fast past 1000 nodes

    Big PlantUML diagrams — subgraph, package, !include — staying fast past 1000 nodes

    A big diagram looks clear to the reader, but the renderer pays the cost — 100 nodes is the watershed. This post distills how to keep big PlantUML diagrams readable and smooth to render. The 100-n...
      2026-07-30  
    • engineering 
    Read moreBig PlantUML diagrams — subgraph, package, !include — staying fast past 1000 nodes 
  • PlantUML in LLM Agents — visualising reasoning and human-in-the-loop

    PlantUML in LLM Agents — visualising reasoning and human-in-the-loop

    LLM agent output is a token stream that’s hostile to humans. PlantUML is the bridge between agents turning their “thinking” into structured, readable diagrams — a practical guide for LangChain &#x...
      2026-07-30  
    • ecosystem 
    Read morePlantUML in LLM Agents — visualising reasoning and human-in-the-loop 
  • PlantUML vs Mermaid: a macro comparison — two 'text-to-diagram' philosophies

    PlantUML vs Mermaid: a macro comparison — two 'text-to-diagram' philosophies

    PlantUML and Mermaid are the two most popular “text-to-diagram” tools today, but their origins, goals, and ecosystems are almost completely different. This article compares them across four macro ...
      2026-08-04  
    • ecosystem 
    Read morePlantUML vs Mermaid: a macro comparison — two 'text-to-diagram' philosophies 
  • PlantUML vs Mermaid pros/cons panorama + selection decision tree

    PlantUML vs Mermaid pros/cons panorama + selection decision tree

    This is the third article in the PlantUML vs Mermaid series. After the first two (macro comparison / syntax side-by-side), this one focuses on “which should I pick” — cut into 10 strengths + ...
      2026-08-04  
    • ecosystem 
    Read morePlantUML vs Mermaid pros/cons panorama + selection decision tree 
  • PlantUML vs Mermaid syntax side-by-side: 7 common diagrams, line by line

    PlantUML vs Mermaid syntax side-by-side: 7 common diagrams, line by line

    After the macro comparison, this article is the cheat sheet for “when you actually want to draw a diagram”. Each diagram type gives you: minimal example → key differences → common pitfalls — just ...
      2026-08-04  
    • ecosystem 
    Read morePlantUML vs Mermaid syntax side-by-side: 7 common diagrams, line by line 
  • Message queue architecture: Kafka / RabbitMQ / RocketMQ topology and ordering guarantees

    Message queue architecture: Kafka / RabbitMQ / RocketMQ topology and ordering guarantees

    Message queues are the glue of distributed systems — Kafka for throughput, RabbitMQ for flexibility, RocketMQ for transactions. This is the architecture topology of three mainstream MQs, consumer ...
      2026-07-30  
    • case-study 
    Read moreMessage queue architecture: Kafka / RabbitMQ / RocketMQ topology and ordering guarantees 
  • PlantUML cross-tool migration — D2, Mermaid, and Draw.io workflow and pitfalls

    PlantUML cross-tool migration — D2, Mermaid, and Draw.io workflow and pitfalls

    When a team re-picks its diagramming tool, migrating from PlantUML to D2 / Mermaid / Draw.io is common. This post distils the practical migration: which diagrams can be auto-converted, w...
      2026-07-30  
    • ecosystem 
    Read morePlantUML cross-tool migration — D2, Mermaid, and Draw.io workflow and pitfalls 
  • PlantUML mindmap & filesystem diagrams

    PlantUML mindmap & filesystem diagrams

    PlantUML also draws two non-classic-UML diagrams: mindmap and filesystem. They shine when you need to outline Markdown content or sketch a file tree. MindmapBasic syntax1234567891011@startmindmap...
      2026-07-29  
    • diagram-types 
    Read morePlantUML mindmap & filesystem diagrams 
  • Mobile app architecture diagrams: iOS / Android / Flutter / React Native modularization

    Mobile app architecture diagrams: iOS / Android / Flutter / React Native modularization

    Mobile app architecture diagrams differ from server-side ones — the client has UI layer, ViewModel, Domain, Data, Native Module mixing, offline sync, push pipeline. This is the PlantUML template f...
      2026-07-30  
    • case-study 
    Read moreMobile app architecture diagrams: iOS / Android / Flutter / React Native modularization 
  • Monorepo vs Polyrepo: dependency graphs, build orchestration, CI strategy

    Monorepo vs Polyrepo: dependency graphs, build orchestration, CI strategy

    Monorepo or Polyrepo — the eternal backend architecture debate. This is the real cost comparison of both layouts, and how to use PlantUML to draw service / package dependency graphs, Bazel&#x...
      2026-07-30  
    • case-study 
    Read moreMonorepo vs Polyrepo: dependency graphs, build orchestration, CI strategy 
  • PlantUML multi-language notes — CJK fonts, RTL, Unicode, emoji

    PlantUML multi-language notes — CJK fonts, RTL, Unicode, emoji

    PlantUML is JVM-based, theoretically Unicode-friendly — but Chinese / Japanese / Arabic / emoji each bite in different ways. This post collects all the pitfalls in one go. CJK: Chi...
      2026-07-30  
    • styling 
    Read morePlantUML multi-language notes — CJK fonts, RTL, Unicode, emoji 
  • PlantUML network, Archimate, Ditaa diagrams — three special architectural views

    PlantUML network, Archimate, Ditaa diagrams — three special architectural views

    Beyond standard UML, PlantUML draws three special-purpose diagrams: network topologies, Archimate enterprise architecture, Ditaa ASCII-to-SVG. These three cover many scenarios that standard UML cl...
      2026-07-29  
    • diagram-types 
    Read morePlantUML network, Archimate, Ditaa diagrams — three special architectural views 
  • PlantUML object diagrams: runtime snapshots

    PlantUML object diagrams: runtime snapshots

    The object diagram is the less-talked-about sibling of the class diagram — but for debugging, doc, and live demos it earns its keep. It’s the class diagram’s “snapshot right now.” One-line defini...
      2026-07-29  
    • diagram-types 
    Read morePlantUML object diagrams: runtime snapshots 
  • Three pillars of observability: Logs / Metrics / Traces + OpenTelemetry + SLO

    Three pillars of observability: Logs / Metrics / Traces + OpenTelemetry + SLO

    When production breaks, “just restart” doesn’t scale. Three-pillar observability (Logs + Metrics + Traces) cuts root-cause analysis from hours to minutes. This is the three-pillar architecture, Op...
      2026-07-30  
    • case-study 
    Read moreThree pillars of observability: Logs / Metrics / Traces + OpenTelemetry + SLO 
  • PlantUML output formats: SVG, PNG, PDF, LaTeX, ASCII compared

    PlantUML output formats: SVG, PNG, PDF, LaTeX, ASCII compared

    PlantUML defaults to SVG, but actual doc workflows — embedded in README, printed to PDF, dropped into LaTeX — have different format requirements. This article compares every output format, best-fi...
      2026-07-29  
    • integration 
    Read morePlantUML output formats: SVG, PNG, PDF, LaTeX, ASCII compared 
  • PlantUML preprocessor directives & icon libraries

    PlantUML preprocessor directives & icon libraries

    When 10 PlantUML diagrams share the same skin and palette, preprocessor directives let you extract common code. When you want intuitive icons for docs, the icon libraries do that — together they t...
      2026-07-29  
    • preprocessing 
    Read morePlantUML preprocessor directives & icon libraries 
  • PlantUML preprocessing deep-dive: Jinja/JSON/YAML injection and dynamic generation

    PlantUML preprocessing deep-dive: Jinja/JSON/YAML injection and dynamic generation

    !include is basic preprocessing. But enterprise architecture diagrams often need to pull service lists, port numbers, AWS resource IDs from external data sources. This is the field guide for Jinja...
      2026-07-30  
    • preprocessing 
    Read morePlantUML preprocessing deep-dive: Jinja/JSON/YAML injection and dynamic generation 
  • PlantUML with interactive diagrams — react-flow / Vue Flow / vis.js when PlantUML alone isn't enough

    PlantUML with interactive diagrams — react-flow / Vue Flow / vis.js when PlantUML alone isn't enough

    PlantUML outputs SVG / PNG / PDF — but no interactivity: can’t drag, can’t highlight, can’t dynamically mutate. That’s “document”, not “tool” — many frontend projects need the latter. Th...
      2026-07-30  
    • ecosystem 
    Read morePlantUML with interactive diagrams — react-flow / Vue Flow / vis.js when PlantUML alone isn't enough 
  • Embedding PlantUML in Hexo (server vs client rendering)

    Embedding PlantUML in Hexo (server vs client rendering)

    Two paths to embed PlantUML in a static blog: pre-render on the server, or have the reader’s browser render on the fly. Here’s the field guide. Option A: Server-side render (hexo-renderer-plantum...
      2026-07-29  
    • integration 
    Read moreEmbedding PlantUML in Hexo (server vs client rendering) 
  • PlantUML project case study: a microservice from 0 to 1

    PlantUML project case study: a microservice from 0 to 1

    The ultimate exercise of PlantUML — a complete e-commerce order microservice, end to end, from requirements to production, with the full diagram suite. Project backgroundWe’re designing an e-comm...
      2026-07-29  
    • case-study 
    Read morePlantUML project case study: a microservice from 0 to 1 
  • PlantUML Salt UI wireframes: from ASCII to UI mockups

    PlantUML Salt UI wireframes: from ASCII to UI mockups

    When you need to document “what the UI looks like” inside a Markdown-friendly diff-able file, PlantUML Salt turns ASCII boxes into readable wireframes. No drawing tool, no Figma — just text. What...
      2026-07-29  
    • diagram-types 
    Read morePlantUML Salt UI wireframes: from ASCII to UI mockups 
  • PlantUML security profiles: INTERNET vs ALCAPONE vs LEGACY

    PlantUML security profiles: INTERNET vs ALCAPONE vs LEGACY

    Self-hosting PlantUML means rendering attacker-supplied Java code. Two real risks: (1) OOM / arbitrary code execution inside the JVM, (2) hostile payloads burning your container’s CPU. This a...
      2026-07-29  
    • security 
    Read morePlantUML security profiles: INTERNET vs ALCAPONE vs LEGACY 
  • PlantUML information leakage and compliance — source/diagram bidirectional exposure risks

    PlantUML information leakage and compliance — source/diagram bidirectional exposure risks

    PlantUML diagrams carry both source and rendered output — two-way exposure = two-way leakage. Most teams don’t realise diagrams are a reverse data source for compliance, security, and AI trai...
      2026-07-30  
    • security 
    Read morePlantUML information leakage and compliance — source/diagram bidirectional exposure risks 
  • PlantUML self-hosting: from plantuml.jar to Docker to enterprise K8s

    PlantUML self-hosting: from plantuml.jar to Docker to enterprise K8s

    When plantuml.com’s online service isn’t reliable — flaky network, security policies — self-host the renderer. Three patterns: local jar, Docker, full microservice. Three deployment patterns Pa...
      2026-07-29  
    • engineering 
    Read morePlantUML self-hosting: from plantuml.jar to Docker to enterprise K8s 
  • Sequence diagrams: alt / opt / loop / par / critical / break / note

    Sequence diagrams: alt / opt / loop / par / critical / break / note

    Sequence diagrams aren’t just A -> B. The control-flow keywords are what make them useful. alt / else — branchesThe most common pattern. alt is “if”, else is “else”: 1234567891011121314@s...
      2026-07-29  
    • diagram-types 
    Read moreSequence diagrams: alt / opt / loop / par / critical / break / note 
  • Serverless event-driven architecture: Lambda / Step Functions / EventBridge / Saga

    Serverless event-driven architecture: Lambda / Step Functions / EventBridge / Saga

    Serverless isn’t just “no servers to manage” — it’s event-driven + async orchestration. This is the production combination of AWS Lambda + Step Functions + EventBridge + SQS/SNS, plus Saga co...
      2026-07-30  
    • case-study 
    Read moreServerless event-driven architecture: Lambda / Step Functions / EventBridge / Saga 
  • PlantUML state diagrams: four ways to model an order lifecycle

    PlantUML state diagrams: four ways to model an order lifecycle

    State diagrams are the most underused PlantUML type. They precisely describe all legal states of a domain object (order, login session, approval flow), transitions, guards, and entry actions. Wha...
      2026-07-29  
    • diagram-types 
    Read morePlantUML state diagrams: four ways to model an order lifecycle 
  • PlantUML SVG accessibility: screen readers, WCAG, contrast

    PlantUML SVG accessibility: screen readers, WCAG, contrast

    PlantUML’s default SVG is hostile to visually impaired users — no alt text, screen readers can’t read it, contrast fails color-blind users. Compliance scenarios (government, education, finance) re...
      2026-07-30  
    • styling 
    Read morePlantUML SVG accessibility: screen readers, WCAG, contrast 
  • 5 Real Ways Teams Use PlantUML

    5 Real Ways Teams Use PlantUML

    A summary of five ways PlantUML gets used inside real engineering teams, plus the gotchas that bite along the way. 1. Use case diagrams for requirement reviewsHalf an hour of whiteboarding in a m...
      2026-07-29  
    • advanced 
    Read more5 Real Ways Teams Use PlantUML 
  • 5 PlantUML Diagram Templates (Copy-Paste Ready)

    5 PlantUML Diagram Templates (Copy-Paste Ready)

    Same as the intro post — AI-assisted sample. The templates themselves are ready to run; feel free to rewrite the prose. 1. Sequence diagram1234567891011121314151617@startumltitle User login flowa...
      2026-07-15  
    • diagram-types 
    Read more5 PlantUML Diagram Templates (Copy-Paste Ready) 
  • Class diagram theming: taming the default colors

    Class diagram theming: taming the default colors

    Default class diagrams are too loud for company docs. Here’s how to tune skinparam for a calmer look. The default theme problemThe out-of-the-box class theme uses saturated fills and heavy border...
      2026-07-29  
    • styling 
    Read moreClass diagram theming: taming the default colors 
  • PlantUML theme packs — building, distributing, and enforcing brand themes

    PlantUML theme packs — building, distributing, and enforcing brand themes

    PlantUML ships with 20+ themes, but they don’t cover corporate brand colour, dark mode, or print colour. This post walks through “DIY theme + internal publish” in full. Three flavours of a themeP...
      2026-07-30  
    • preprocessing 
    Read morePlantUML theme packs — building, distributing, and enforcing brand themes 
  • PlantUML timeline, Gantt, WBS: project scheduling & breakdown

    PlantUML timeline, Gantt, WBS: project scheduling & breakdown

    PlantUML is usually seen as a UML-only tool, but it also draws three scheduling views every PM uses: timeline, Gantt, WBS. This article covers all three. TimelineA timeline records “what happened...
      2026-07-29  
    • diagram-types 
    Read morePlantUML timeline, Gantt, WBS: project scheduling & breakdown 
  • PlantUML 30 small tricks and features

    PlantUML 30 small tricks and features

    There are PlantUML features you always have to look up in the docs. This article collects 30 micro-features so you stop searching the manual every time. 1. Newlines in node names123456@startumlcl...
      2026-07-29  
    • advanced 
    Read morePlantUML 30 small tricks and features 
  • PlantUML use case diagrams: from requirement to review

    PlantUML use case diagrams: from requirement to review

    Use case diagrams are the most underused UML type. They don’t draw code; they precisely describe what value a system provides and who uses it. One-line definitionA use case diagram = a set o...
      2026-07-29  
    • diagram-types 
    Read morePlantUML use case diagrams: from requirement to review 
  • PlantUML diagrams evolve with git: renaming, migration, archival

    PlantUML diagrams evolve with git: renaming, migration, archival

    Writing the .puml isn’t the end. Three months later: services get renamed, architectures refactored, components deprecated — the diagram has to evolve alongside git to avoid the awkward “docs say ...
      2026-07-30  
    • engineering 
    Read morePlantUML diagrams evolve with git: renaming, migration, archival 
  • PlantUML vs Mermaid vs Draw.io — which one to reach for

    PlantUML vs Mermaid vs Draw.io — which one to reach for

    There’s no “best” diagram tool, only the right one for each situation. This is the distillation of several tool switches. One-line conclusion Type Pick Why Sequence, class, state, activity, ...
      2026-07-29  
    • ecosystem 
    Read morePlantUML vs Mermaid vs Draw.io — which one to reach for 
  • PlantUML vs Mermaid vs Graphviz DOT vs D2 — a complete DSL comparison

    PlantUML vs Mermaid vs Graphviz DOT vs D2 — a complete DSL comparison

    There are now more “text-first diagram tools” than 5 years ago — PlantUML / Mermaid / Graphviz DOT / D2. Which to pick? This post compares them against real scenarios. One-line sum...
      2026-07-30  
    • ecosystem 
    Read morePlantUML vs Mermaid vs Graphviz DOT vs D2 — a complete DSL comparison 
  • Profile diagrams: stereotypes and metadata

    Profile diagrams: stereotypes and metadata

    IntroductionStereotypes extend class diagram elements with semantic labels, distinguishing roles like “interface”, “service”, “entity”, and “enum” within the same diagram. Both PlantUML and Mermaid...
      2026-10-21  
    • tutorial 
    Read moreProfile diagrams: stereotypes and metadata 
  • puml.online Tips: Draw Sequence Diagrams, Class Diagrams and More — Instantly

    puml.online Tips: Draw Sequence Diagrams, Class Diagrams and More — Instantly

    What is puml.onlinepuml.online is a free online diagram tool that bundles PlantUML, Mermaid, and Excalidraw in one place. Its key advantages: Open and start — no sign-up, no download, no second pa...
      2026-12-06  
    • tutorial 
    Read morepuml.online Tips: Draw Sequence Diagrams, Class Diagrams and More — Instantly 
  • Quadrant charts: axes and quadrants

    Quadrant charts: axes and quadrants

    IntroductionQuadrant charts divide the plotting area into four regions by two dimensions, commonly used for urgency vs importance, or effort vs impact analysis. This article covers how to draw quad...
      2026-09-22  
    • tutorial 
    Read moreQuadrant charts: axes and quadrants 
  • Regex Visualisation: Drawing a Regular Expression as a Railroad Diagram

    Regex Visualisation: Drawing a Regular Expression as a Railroad Diagram

    IntroductionRegular expressions are easy to write and hard to read. What exactly is [a-z0-9-]+\. matching? Which parentheses are groups, and which merely widen the scope of a quantifier? Instead of...
      2026-10-25  
    • tutorial 
    Read moreRegex Visualisation: Drawing a Regular Expression as a Railroad Diagram 
  • Requirement diagrams: elements and relations

    Requirement diagrams: elements and relations

    IntroductionA Requirement Diagram visualizes the traceability between system requirements and design elements. It maps business requirements to interfaces, classes, and modules, helping teams verif...
      2026-09-23  
    • tutorial 
    Read moreRequirement diagrams: elements and relations 
  • Salt wireframes

    Salt wireframes

    IntroductionA wireframe is the low-fidelity sketch used early in product design to describe “which blocks exist on the screen and how they are arranged”. It does not care about colors or fonts, onl...
      2026-10-29  
    • tutorial 
    Read moreSalt wireframes 
  • Sankey diagrams: flows and links

    Sankey diagrams: flows and links

    IntroductionA Sankey diagram uses width-encoded flow lines to show how quantities move between nodes, making it ideal for energy distribution, website visitor paths, or budget flows. PlantUML has n...
      2026-10-09  
    • tutorial 
    Read moreSankey diagrams: flows and links 
  • Sequence diagrams: alt / else / opt fragments

    Sequence diagrams: alt / else / opt fragments

    IntroductionThe alt / else / opt fragments in sequence diagrams express conditional branching and optional interactions. Both PlantUML and Mermaid support these fragments, but with slight...
      2026-10-15  
    • tutorial 
    Read moreSequence diagrams: alt / else / opt fragments 
  • Sequence diagrams: async messages and callbacks

    Sequence diagrams: async messages and callbacks

    IntroductionSequence diagrams visualize time-ordered interactions between objects. Synchronous (sync) messages block until a response arrives, while asynchronous (async) messages fire and forget — ...
      2026-08-28  
    • tutorial 
    Read moreSequence diagrams: async messages and callbacks 
  • Sequence diagrams: critical regions

    Sequence diagrams: critical regions

    IntroductionSome steps in a sequence are “must succeed, otherwise the whole flow fails” — locking stock, debiting a balance, writing an audit log. That block is modelled as a critical region: every...
      2026-11-09  
    • tutorial 
    Read moreSequence diagrams: critical regions 
  • Sequence diagrams: ...> delay notation

    Sequence diagrams: ...> delay notation

    IntroductionSequence diagrams often need to say “a lot of time passed here”: a request goes out and the answer arrives 30 minutes later, or two systems poll each other on an interval. PlantUML has ...
      2026-11-26  
    • tutorial 
    Read moreSequence diagrams: ...> delay notation 
  • Sequence diagrams: grouping with divider/box

    Sequence diagrams: grouping with divider/box

    IntroductionWhen a sequence diagram has many messages it gets messy. Dividers / Groups / Boxes let you visually containerize related messages. PlantUML uses group and so does Mermaid — th...
      2026-08-30  
    • tutorial 
    Read moreSequence diagrams: grouping with divider/box 
  • Sequence diagrams: lifeline control

    Sequence diagrams: lifeline control

    IntroductionIn sequence diagrams, a participant’s lifeline becomes active at different stages and can be destroyed when its role ends. Both PlantUML and Mermaid provide clean syntax to express thes...
      2026-08-31  
    • tutorial 
    Read moreSequence diagrams: lifeline control 
  • Sequence diagrams: loop fragments

    Sequence diagrams: loop fragments

    IntroductionBulk exports, status polling, retrying a request — in a sequence diagram these all mean the same thing: a group of messages is executed repeatedly. PlantUML and Mermaid both draw this w...
      2026-11-08  
    • tutorial 
    Read moreSequence diagrams: loop fragments 
  • Sequence diagrams: notes (left/right/over)

    Sequence diagrams: notes (left/right/over)

    IntroductionSequence diagrams model message exchanges between objects, and notes are the primary way to add commentary to those interactions. Both PlantUML and Mermaid support notes in sequence dia...
      2026-08-29  
    • tutorial 
    Read moreSequence diagrams: notes (left/right/over) 
  • Sequence diagrams: parallel fragments

    Sequence diagrams: parallel fragments

    IntroductionWhen one request triggers several independent sub-flows at the same time, a sequence diagram should not draw them as a chain of sequential arrows — it should use a parallel fragment. Pl...
      2026-11-07  
    • tutorial 
    Read moreSequence diagrams: parallel fragments 
  • Sequence diagrams: self-call messages

    Sequence diagrams: self-call messages

    IntroductionWhen an object calls one of its own methods while handling a request, the sequence diagram shows a message going from a lifeline back to itself — a “self message”. Both engines support ...
      2026-11-25  
    • tutorial 
    Read moreSequence diagrams: self-call messages 
  • Sequence vs Activity: when to use which

    Sequence vs Activity: when to use which

    IntroductionSequence Diagram and Activity Diagram are both essential interaction-modeling tools, but they focus on different things. Sequence diagrams emphasize who said what to whom and when; acti...
      2026-10-13  
    • tutorial 
    Read moreSequence vs Activity: when to use which 
  • State diagrams: choice and fork pseudostates

    State diagrams: choice and fork pseudostates

    IntroductionState machines describe how an object transitions through a set of discrete states during its lifecycle. Two important pseudostates power most real-world models: choice — conditional b...
      2026-09-06  
    • tutorial 
    Read moreState diagrams: choice and fork pseudostates 
  • State diagrams: composite states and history

    State diagrams: composite states and history

    IntroductionState machines describe the lifecycle of objects and protocol state transitions. Composite states bundle multiple sub-states under one high-level state, reducing diagram clutter; histor...
      2026-09-05  
    • tutorial 
    Read moreState diagrams: composite states and history 
  • State diagrams: concurrent regions

    State diagrams: concurrent regions

    IntroductionA state machine often runs two independent things at once: an order is being paid for while the warehouse reserves stock, and the order only closes when both finish. If you chain those ...
      2026-11-13  
    • tutorial 
    Read moreState diagrams: concurrent regions 
  • State diagrams: entry/exit actions

    State diagrams: entry/exit actions

    IntroductionA state machine models an object’s lifecycle as a set of states and transitions between them. An entry action fires automatically when entering a state; an exit action fires when leavin...
      2026-09-07  
    • tutorial 
    Read moreState diagrams: entry/exit actions 
  • State diagrams: internal transitions

    State diagrams: internal transitions

    IntroductionThe easiest kind of transition to get wrong in a state machine is an arrow pointing back at its own state. The UML specification splits these into two categories: an external self-trans...
      2026-11-30  
    • tutorial 
    Read moreState diagrams: internal transitions 
  • State diagrams: timeouts

    State diagrams: timeouts

    IntroductionThe easiest thing to leave out of a state machine diagram is the timeout. No matter how polished the flow looks, if a waiting state has no fallback exit, production gets requests that h...
      2026-12-05  
    • tutorial 
    Read moreState diagrams: timeouts 
  • State diagrams: transition guards

    State diagrams: transition guards

    IntroductionThe easiest thing to get wrong in a state machine diagram is multiple transitions leaving the same state. If Payment can become either Paid or Payment failed, the arrows alone tell the ...
      2026-11-29  
    • tutorial 
    Read moreState diagrams: transition guards 
  • State vs activity: which one for your workflow

    State vs activity: which one for your workflow

    IntroductionState diagrams and activity diagrams both come from UML behavioural modelling, yet they answer different questions. A state diagram answers “which state is this object in, and how does ...
      2026-11-04  
    • tutorial 
    Read moreState vs activity: which one for your workflow 
  • Timelines: Sections and Time Periods

    Timelines: Sections and Time Periods

    IntroductionTimeline diagrams are commonly used to visualize project milestones, historical events, or phases in a business process. Both PlantUML and Mermaid support timeline syntax, with Section ...
      2026-10-04  
    • tutorial 
    Read moreTimelines: Sections and Time Periods 
  • Timeline vs Gantt: a decision guide

    Timeline vs Gantt: a decision guide

    IntroductionBoth visualize “things moving forward over time”, but they answer different questions. A timeline answers when did something happen; a Gantt chart answers how long does each task take a...
      2026-10-31  
    • tutorial 
    Read moreTimeline vs Gantt: a decision guide 
  • Use case diagrams: actors and use cases

    Use case diagrams: actors and use cases

    IntroductionUse case diagrams model system functional requirements, centering on actors and use cases, with system boundaries and relationships to express business scenarios. This article compares ...
      2026-10-19  
    • tutorial 
    Read moreUse case diagrams: actors and use cases 
  • Use case diagrams: extend and include

    Use case diagrams: extend and include

    Introduction<<include>> and <<extend>> are the most-confused pair of stereotypes in a use case diagram. Both are drawn as a dashed dependency arrow with a similar-looking la...
      2026-12-06  
    • tutorial 
    Read moreUse case diagrams: extend and include 
  • Use case diagrams: where to draw the system boundary

    Use case diagrams: where to draw the system boundary

    IntroductionWhen drawing a use case diagram, the tricky part is rarely the connections — it is where the boundary sits. The boundary decides which use cases belong to the system you are building an...
      2026-11-05  
    • tutorial 
    Read moreUse case diagrams: where to draw the system boundary 
  • WBS: task decomposition

    WBS: task decomposition

    IntroductionWBS (Work Breakdown Structure) is a standard method for decomposing a project into smaller, manageable work units. This article covers how to draw WBS diagrams using both PlantUML and M...
      2026-10-10  
    • tutorial 
    Read moreWBS: task decomposition 
© 2026 puml.online | All rights reserved.
Powered by PlantUML Online
粤ICP备2025363048号-4 | Google Analytics