The diagram below is not written out anywhere in this page. Its source lives in
Diagrammo Cloud, published by its author, and what you are looking at is the
version that is current right now — not a copy taken on the day someone pasted
it in.
That is the whole point: the author keeps editing, and the docs stop going
stale.
That is the entire setup. There is no option to switch on and no key to
configure — a dgmo fence holding a link is recognised as one. Once you have
the diagram's id there is a shorter spelling that does the same job:
Your build fetches the diagram's source once and draws it into the page as
ordinary static HTML, exactly like the hand-written diagrams elsewhere in this
showcase. A reader needs nothing at all at run time to see the picture.
The fetched source is also written to .dgmo/references/. Commit that folder
and later builds keep working when the network is unreachable — they fall back
to the last copy they saw and warn, instead of failing. The first build for a
given diagram is the one that genuinely needs to reach the API.
After the page loads, it asks once whether the author has changed the diagram
since your site was last built. If they have, a line appears beneath the
diagram — "This diagram has been updated" — linking to the current version.
That check needs your Content-Security-Policy to allow
connect-src https://api.diagrammo.app. Without it the diagram still renders;
it just stops noticing changes, and nothing is able to tell you so.
A live link belongs to whoever published it, and they can take it back. If they
press Stop showing, your page draws a short card in place of the diagram
saying it is no longer shared. Your build keeps working, and no reader is left
looking at a hole where a picture used to be.
Diagrammo — All Chart Types
Every dgmo code fence below renders a different chart type, and the prose
around them shows the Markdown formatting the integration renders alongside
diagrams. Edit the data to experiment! For the full editor experience visit
diagrammo.app.
Diagrams live inside ordinary Markdown, so everything below renders normally
next to the dgmo fences — bold, italic, strikethrough, inline code, and links.
line Tortuga Rum Barrels in Stores
fillseries Barrels
x-label Month
y-label Barrels in Hold
era Jan -> Apr Raiding Season red
era Apr -> Aug Dry Spell blue
Jan 320
Feb 410
Mar 505
Apr 618
May 470
Jun 355
Jul 210
Aug 140
Sep 260
Oct 430
Nov 560
Dec 690
bar Plunder by Voyage
x-label Voyage
y-label Doubloons
stack
Gold red
Silver orange
Spices yellow
Rum green
Spanish Main 480320210150
Barbary Coast 360290340180
Windward Passage 520410160240
Coral Run 300260380200
function Ship Roll After a Full Broadside
x-label Seconds after broadside
y-label Roll (degrees)x0 to 12// Recoil heels the ship 30° — the roll rings down as the sea damps it.
Roll blue:30*exp(-0.25*x)*sin(2*x)
Decay envelope gray:30*exp(-0.25*x)
Mirror envelope gray:-30*exp(-0.25*x)
heatmap Pirate Activity by Sea Region
columns Jan, Feb, Mar, Apr, May, Jun
// label value1, value2, ...
Caribbean 545345
Atlantic 232432
Mediterranean 321234
Indian Ocean 454543
South China Sea 123212
West Africa 334354
line Plunder by Crew Over the Voyage
series
Cutlass Crew blue
Powder Monkeys green
Rigging Rats orange
x-label Port of Call
y-label Doubloons (thousands)era Nassau -> Port Royal Shakedown Run teal
era Port Royal -> Kingston Golden Haul orange
Nassau 4.21.10.6
Tortuga 6.51.90.9
Port Royal 9.13.41.7
Isla Muerta 7.84.22.3
Kingston 11.45.13.0
radar Ship Combat Ratings by Vessel
series
Black Pearl blue
Queen Anne's Revenge green
Flying Dutchman purple
Firepower 857095
Speed 906555
Armor 608090
Maneuverability 886250
Crew Morale 758570
Cannon Range 707892
sankey Rum Supply Chain of the Caribbean
// Source — color the plantation node green
Sugar Plantations green
Tortuga Distillery orange 3000
Nassau Distillery orange 2500
Kingston Distillery orange 2000// Distribution — indented targets under each distillery
Tortuga Distillery
Pirate Taverns red 2000
Ship Provisions teal 1000
Nassau Distillery
Pirate Taverns 1500
Black Market purple 1000
Kingston Distillery
Royal Navy blue 1200
Pirate Taverns 800// Final destinations
Pirate Taverns
Crew Morale 3500
Bar Fights 800 red
Ship Provisions -> Long Voyages 1000
scatter Pirate Fleets of the Caribbean
x-label Ruthlessness
y-label Plunder (chests)size-label Crew
[English Pirates] red
Blackbeard 9085300
Calico Jack 5532110
Anne Bonny 702890[French Buccaneers] blue
L'Olonnais 8060220
Pierre le Grand 452570[Welsh Privateers] green
Henry Morgan 85120470
Bartholomew Roberts 88110510
slope Pirate Fleet Strength:1715vs1725period17151725
Blackbeard red 404
Bartholomew Roberts blue 1252
Charles Vane orange 202
Anne Bonny green 815
Calico Jack purple 186
bracket Grand Line Cup
rounds
Skirmish orange
Clash green
Fleet Final yellow
[Red Fleet] red
seed1 Black Pearl
seed2 Queen Anne
seed3 Sea Serpent
seed4 Jolly Roger
seed5 Kraken
seed6 Barnacle Betty
Sea Serpent beats Barnacle Betty 2-1
Jolly Roger beats Kraken 2-0
Black Pearl beats Jolly Roger 3-1
Queen Anne beats Sea Serpent 3-2
Black Pearl beats Queen Anne 4-2[Blue Fleet] blue
seed1 Flying Dutchman
seed2 Salty Dog
seed3 Grog Hound
seed4 Marauder
seed5 Tidewater
seed6 Coral Cutlass
Grog Hound beats Coral Cutlass 2-1
Marauder beats Tidewater 2-1
Flying Dutchman beats Marauder 3-0
Salty Dog beats Grog Hound 3-2
Flying Dutchman beats Salty Dog 4-1
Black Pearl beats Flying Dutchman 4-3
family The Blackwater Buccaneers
tag Allegiance as flag
Founders green
Brethren red
Crown blue
Redbeard b:1638, d:1701, sex: m, occupation: Captain, military: Sacked three ports, flag: Founders
Blackheart Bess b:1642, d:1699, sex: f, occupation: Quartermaster, flag: Founders
Redbeard + Blackheart Bess m:1660
Anne b:1662, sex: f, occupation: Pirate King, flag: Brethren
Mad Mary b:1665, sex: f, occupation: Powder Monkey
"Long John Silver" b:1658, sex: m, occupation: Cook
One-Eyed Pete b:1660, d:1712, sex: m, occupation: Bosun, flag: Crown
Anne +"Long John Silver" m:1685
Young Jack b:1686, sex: m, occupation: Navigator
Grace b:1689, sex: f, occupation: Sailmaker, flag: Brethren
Anne + One-Eyed Pete m:1698
Sally b:1699, sex: f, occupation: Lookout
Mad Mary sex: f
Tom b:1690, sex: m, occupation: Cabin Boy
Young Jack + Calico Kate m:1712
Ned b:1713, sex: m, occupation: Gunner
Pearl adopted, b:1715, sex: f, occupation: Cartographer
cycle The Pirate Raid Cycle
Scout blue
Spot merchant vessels from afar
Pursue green
Raise the colors, trim the sails
Board orange
Swing across and seize the deck
Celebrate red
Divide the spoils, then repair
journey-map A Cabin Boy's First Voyage
persona Squidlips Sam color: blue
Greenhorn cabin boy, first time at sea
Sworn to the crew but quietly terrified
[Signing On]
Sign the articles score:4,emotion: Hopeful
description: Captain reads the code aloud — pay shares, no women aboard, lights out at 8[The Tempest]
Caught in a squall off the reef score:1,emotion: Terrified
pain: Two crewmates lost overboard before dawn
thought: Maybe the merchant fleet wasn't so bad after all
Dawn, and she still floats score:3,emotion: Relieved
[The Prize]
Strike the colors score:5,emotion: Triumphant
description: Heavy with silver from the Veracruz mines
[Homecoming]
Bury a share on the island score:5,emotion: Proud
thought: Three doubloons hidden where only he can find them
Back to the Rusty Anchor score:4,emotion: Content
opportunity: Next time he signs on as a full hand, not a boy
map Follow-the-Sun Support Desk
hours9-17workweek mon-fri
poi San Francisco clocklabel: West
poi Denver US-CO clocklabel: Central
poi Miami clocklabel: East
route Houston
~> Chicago
~> Washington
org The Dread Fleet
active-tag Rank
sub-node-label Crew
show-sub-node-counttag Rank as r
Sailor blue
Captain red
FirstMate orange
Quartermaster yellow
Bosun green
Gunner teal
Jester cyan
Swab purple
tag Ship as s
Revenge blue
Serpent green
Phantom purple
tag Status as st
Loyal green
Turncoat red
NewRecruit yellow
Blackbeard r: Captain, s: Revenge
Anne Bonny r: FirstMate
[Gun Deck]
Cannonball Pete r: Gunner
Smokey Jack r: Gunner, st: NewRecruit
Powder Meg r: Swab, st: NewRecruit
[Boarding Party]
Cutlass Jim r: Bosun
Red Mary
One-Eyed Dan st: Turncoat
Calico Rackham r: Quartermaster
[Cargo Hold]
Barnacle Bob
Slippery Sal st: Turncoat
Long John r: FirstMate, s: Serpent
[Rigging Crew]
Monkey Fist r: Bosun
Pegleg Pete
Crow Jane
[Navigation]
Stargazer Quinn r: Quartermaster
Compass Rose st: NewRecruit
pyramid Pirate Crew Hierarchy
Captain purple
Final word on heading and plunder,
keeper of the ship's charter.
Quartermaster blue
Second-in-command, arbitrates
disputes, divvies the booty.
Boatswain & Gunner green
Keep the rigging tight and
the cannons ready.
Able Seamen yellow
Haul lines, swab decks,
and stand watch.
Powder Monkeys orange
Ferry shot and charges to the guns
during a broadside.
ring Captain's Sphere of Influence
Captain red
Final word on heading and plunder,
keeper of the ship's charter.
Quartermaster orange
Second-in-command, arbitrates disputes and divvies the booty
Crew yellow
Deckhands, gunners, and powder
monkeys aboard the ship.
Allied Crews green
Loose alliances kept by oath
or shared bounty in fair seas.
The Open Sea blue
Weather, currents, and rival
flags beyond any captain's reach.
swimlane Weekly Publishing
direction-lrlane Writer gray
Draft Post -> Review
Revise -> Review
lane Editor blue
<Review>-changes-> Revise
-ok-> Schedule
Schedule -> Publish
Publish -> Promote
lane Social green
Promote
tech-radar Pirate Operations Radar — Q2 1718rings
Full Sail
Trial Run
Spyglass
Davy Jones
Tactics quadrant:top-right
Ambush at Dawn ring: Full Sail,trend: stable
Our most reliable boarding tactic. **90% success rate** when
approaching from the east with the sun behind us.
- Crew morale peaks at dawn — grog hasn't worn off yet
- Reduced cannon fire needed:*3 volleys*vs8 at midday
- See [battle log](https://wiki.pirates.example/dawn-ambush)
Boarding Parties ring: Full Sail,trend: stable
Standard 20-man teams equipped with **cutlasses**,*grappling hooks*,
and smoke pots. Training regimen updated after the *Tortuga Incident*.
Decoy Flags ring: Trial Run,trend: up
Flying false colours until within cannon range. Early results
are promising — merchant ships drop anchor **40% more often**
when they see a Dutch East India flag.
- Works best in *foggy conditions*- Risk: Royal Navy ships sometimes call the bluff
Smoke Screens ring: Trial Run,trend: new
Burning wet straw and tar barrels on approach. Visibility drops to
**under 10 metres**— perfect for sneaking alongside.
Kraken Diplomacy ring: Spyglass,trend: new
Exploring alliances with *sea monsters*. Negotiations ongoing
but the Kraken's demands are... unreasonable.
- Wants **50% of all treasure** plus exclusive fishing rights
- Communication barrier: only speaks in bubbles
Night Raids ring: Trial Run,trend: up
Blackened sails and muffled oars. Three successful raids on
*sleeping harbours* this quarter. Key constraint:**no moonlight**.
Ramming ring: Davy Jones,trend: down
Costs more in hull repairs than it's worth. The *HMS Splinter*
incident of 1716 proved this conclusively.
Vessels quadrant:top-left
Brigantine ring: Full Sail,trend: stable
Our workhorse. Fast, manoeuvrable, carries **18 cannons**.- Crew capacity:100 pirates
- Top speed:*11 knots* in fair wind
- Draft shallow enough for **coastal ambushes**
Sloop ring: Full Sail,trend: up
Fastest ship in the fleet. Only **6 cannons** but can outrun
anything the Royal Navy sends. Perfect for *reconnaissance*
and courier runs between hideouts.
War Galleon ring: Trial Run,trend: up
Captured from the Spanish fleet. Massive firepower but
**slow to turn**— best for convoy raids, not chases.
-42 cannons across *three gun decks*- Requires 200+ crew to operate effectively
- Ongoing hull repairs from [Battle of Nassau](https://wiki.pirates.example/nassau)
Frigate ring: Spyglass,trend: new
Intercepted blueprints from a *British shipyard*. Could be our
next flagship if we can find enough **seasoned carpenters**.
Junk Rig ring: Spyglass,trend: new
Far Eastern design with **battened sails**— easier to handle
in storms and requires *fewer crew*. Trader Wong demonstrated
one in Macao harbour.
Longboat ring: Davy Jones,trend: down
Too slow, too small, too leaky. Last three longboat missions
ended in **catastrophic sinkings**. Retired from active duty.
Plunder Targets quadrant:bottom-left
Merchant Convoys ring: Full Sail,trend: stable
Core revenue stream —**78% of total plunder**. East India
Company ships running the spice route remain most lucrative.
- Average haul:*4,200 doubloons* per convoy
- Best intercepted near the [Windward Passage](https://wiki.pirates.example/windward)- Seasonal peak: July–September during *monsoon trade runs*
Spanish Treasure Fleets ring: Full Sail,trend: stable
The **crown jewels** of piracy. Annual fleet carries gold,
silver, and emeralds from the New World. Requires *coordinated
multi-ship ambush* but one raid funds operations for a year.
Port Raids ring: Trial Run,trend: up
Shifting from sea-only operations. The raid on *Port-de-Paix*
yielded **12,000 doubloons** and a warehouse of rum.
Rival Pirates ring: Trial Run,trend: new
Controversial but profitable. Blackbeard's crew carries
**more gold** than most merchants. Ethics committee (the parrot)
has filed an objection.
Royal Treasury Ships ring: Spyglass,trend: new
High risk, astronomical reward. Requires:- Inside information from *corrupt harbourmasters*- At least **3 allied ships** for the blockade
- A really good escape plan
Whaling Ships ring: Spyglass,trend: stable
Moderate value — whale oil fetches **decent prices** in European
markets. But the ships fight back *hard*.
Fishing Villages ring: Davy Jones,trend: down
Terrible ROI and **bad for reputation**. The parrot union
filed a formal complaint. We're pirates, not bullies.
Crew Welfare quadrant:bottom-right
Grog Rations ring: Full Sail,trend: stable
Non-negotiable. Cutting grog rations caused the *Great Mutiny
of 1716*. Current allocation:**2 pints per day** per pirate.
- Premium rum reserved for post-battle celebrations
- Watered grog for the night watch (safety first)
Code of Conduct ring: Full Sail,trend: stable
Our **Articles of Agreement**— fair share of plunder, compensation
for injuries, voting rights on major decisions. *Democracy at sea.*
Sea Shanty Program ring: Trial Run,trend: new
Hired a shanty master from *Liverpool*. Crew productivity up
**25%** during long voyages. Current repertoire:-"Yo Ho Ho and a Bottle of Rum"—*morale boost*-"What Shall We Do with a Drunken Sailor"—**work efficiency**-"Haul Away Joe"— anchor duty motivation
Dental Plan ring: Spyglass,trend: up
Exploring options. Most crew down to **4 teeth** on average.
Parley with a Port Royal dentist scheduled for Q3 1718.- Estimated cost:*3 doubloons per extraction*-[Tooth census results](https://wiki.pirates.example/dental)
Parrot Companions ring: Full Sail,trend: up
Every pirate deserves a **shoulder companion**. Proven benefits:-*Scouts* that can spot sails at 3x human range
- Morale boost: crew happiness up **30%**- Built-in alarm system for surprise attacks
Retirement Fund ring: Spyglass,trend: new
Proposal to set aside **5% of all plunder** for retirement.
Controversial — most pirates don't expect to *live that long*.
Plank Walking ring: Davy Jones,trend: down
Terrible for recruitment and **crew retention**. Modern pirates
prefer *marooning*— at least they get a pistol and a bottle.
venn Pirate Skill Overlap
Swordsmanship as sw red
Navigation asnav blue
Leadership as lead green
sw +nav Sea Raiders
nav+ lead Voyager Captains
sw + lead Buccaneer Chiefs
sw +nav+ lead Legendary Pirates
raci Captain's Council Decisions
roles
Captain
Quartermaster
Navigator
Bosun
[Raid Planning]
Choose the next prize
Navigator: D
Captain: A
Quartermaster: C
Bosun: I
Set the attack heading
Navigator: D A
Captain: C
Divide the boarding parties
Bosun: D
Captain: A
Quartermaster: C
[Provisioning]
Ration the grog
Quartermaster: D A
Bosun: C
Restock the powder
Quartermaster: D
Captain: A
Bosun: I
kanban Crew Tasks
tag Priority as p
Low blue
Medium yellow
High orange
Critical red
tag Watch as w
Morning green
Afternoon yellow
Night purple
[Backlog] blue
Repair the foretops'l p: Low, w: Morning
Mend after the last storm
Reinforce the gunwales p: Medium, w: Afternoon
[In Progress] yellow
Caulk the hull seams p: High, w: Afternoon
Hold has been taking water
Restock powder kegs p: High, w: Morning
Last batch ran damp
[Blocked] red
Find a new sailmaker p: Critical, w: Morning
Old one took ill at last port
[Done] green
Inventory the hold p: Medium, w: Night
Sharpen the cutlasses p: Low, w: Night
raci Voyage Operations
roles
Cap red
QM orange
Bos yellow
Nav blue
Crew gray
[Departure] teal
Plot the course
Cap: A
Nav: R
QM: C
Provision the hold
QM: A R
Cap: C
Crew: I
[At Sea] purple
Stand the watch
Bos: A
Crew: R
Mend sail damage
Bos: A
Crew: R
[Landfall] green
Negotiate with port
Cap: R A
QM: C
Inventory the take
QM: A R
Crew: I
raci Crew Responsibilities — Boarding Raid
roles
Cap red
QM orange
Bos yellow
Nav blue
Gun purple
Crew gray
[Approach] teal
Spot the prize
Cap: A
Nav: R
Bos: S
Crew: I
Close the distance
Nav: A R
Cap: C
Bos: S
[Boarding] purple
Fire a warning shot
Gun: A R
Cap: C
Crew: S
Swing the grappling lines
Bos: A R
Crew: S
Cap: I
Storm the deck
Cap: A
Bos: R
Crew: S
Gun: S
[Plunder] green
Secure the captives
QM: A
Crew: R
Bos: S
Tally the take
QM: A R
Cap: C
Crew: S
timeline Pirate Campaigns 1717-1719era1717-01->1717-12 Golden Age Peak
era1718-01->1718-12 Royal Navy Response
marker1718-05 Rogers Arrives Nassau
[Blackbeard]1717-03->1717-09 Blockade of Charles Town
1717-11 Queen Anne's Revenge captured
1718-01->1718-06 Carolina Coast raids
1718-11 Last stand at Ocracoke
[Bonnet]1717-06->1717-10 First cruise
1718-03->1718-07 Revenge refitted
1718-08->1718-10 Cape Fear pursuit
1718-12 Trial and hanging
[Royal Navy]1718-02->1718-06 Fleet assembles
1718-07->1718-09 Nassau secured
1718-10->1719-03 Sweep operations
boxes-and-lines Pirate Fleet Command
tag Status as s
Operational green
Damaged red
Building blue default
heat Crew red green
active-tag Status
Flagship s: Operational,heat:120->[Harbor Defenses]-> IntelNetwork
[Harbor Defenses]
FortCannon s: Operational,heat:40-> Watchtower
Watchtower s: Operational,heat:12
SeaMines s: Building,heat:6
IntelNetwork s: Operational,heat:35-> SpyRing
-> SignalFlags
SpyRing s: Operational,heat:18->[Harbor Defenses]
SignalFlags s: Damaged,heat:8
c4 Pirate Treasure Map System
tag Scope as sc
Crew blue
External gray
Captain is a person description: Commands the fleet and plans raids
TreasureMap is a system description: Tracks buried treasure locations and raid intelligence
-Views treasure locations-> Captain
-Sends raid alerts [carrier pigeon]-> Lookout
containers
ChartRoom is a container description: Interactive sea chart with treasure markers,tech: Parchment
-Queries treasure data [secret code]-> Vault
Vault is a container description: Encrypted treasure ledger and coordinates,tech: Iron Chest
-Reads/writes [quill and ink]-> TreasureLog
TreasureLog is a container description:"Stores locations, guard counts, and loot inventories",tech: Leather-Bound Tome
Lookout is an external description: Crow's nest spotter on allied ships, sc: External
~Relays sightings to~> Captain
deployment
Flagship
container ChartRoom
container Vault
SecretCave
container TreasureLog
er Pirate Fleet
ships
id intpk
name varchar
ship_type varchar
cannons int1-aboard-* crew_members
1-1 captains
1-carries-* treasure
captains
id intpk
name varchar
ship_id intfk
bounty int?-frequents-1 ports
*-has-1 crew_members
crew_members
id intpk
name varchar
ship_id intfk
role varcharnullable
treasure
id intpk
name varchar
value int
ship_id intfknullable
ports
id intpk
name varchar
region varcharunique1-docks-* ships
flowchart Mutiny Resolution
direction-tb(Weigh Anchor)->[Set Sail]-><Crew Discontent?>-no->(Reach Port)-yes->[Call a Vote]-><Vote Outcome?>-loyal->[Hold Steady]->(Reach Port)-mutiny->[Seize the Ship]->[Maroon the Captain]->(Elect New Captain)
version-control Feature Branch Workflow
main
Initial commit
Add README
develop from main
Set up CI
Add test suite
feature/login from develop
Login form
Form validation
develop
merge feature/login
Address review notes
main
merge develop tag: v1.0.0
Hotfix typo type:highlight
event-line Product Milestones
//no-scalenow2022-06
no-box
tag Track as t
Product blue
Growth green
Funding purple
[Early Days]2019-03 Idea sketched t: Product
A weekend prototype becomes a real plan.
2019-09 Private beta t: Product
First fifty users kick the tires.
[Scaling Up]2020-06 Seed round t: Funding
**$2M** raised to grow the team.
2021-01 Public launch t: Product
Open to everyone, no waitlist.
2021-11100k users t: Growth
Word of mouth does the heavy lifting.
[Going Long]2023-04 Series A t: Funding
Expansion into new markets.
2024-081M users t: Growth
A milestone years in the making.
[What's Next]
TBD Series B t: Funding
Raising when the metrics line up — no date yet.
TBD Mobile app t: Product
On the roadmap, not yet scheduled.
block Web Service Architecture
tag Layer as l
Edge red
Service green
Data blue
[Clients] l: Edge
[Browser][Mobile][CLI][Backend] l: Service
[Auth][Orders][Inventory][Billing][Data] l: Data collapsed[Postgres][Redis]
sketch Plunder Pipeline
tag Crew
Deck
Hold
Spyglass Feed shape: database,at:00, crew: Deck
-sightings-> con
[Below Decks] crew: Hold
Divvy Service as dvy at:1-3-entries-> ledger
Captain's Console as con at:-30, crew: Deck
-orders-> bq
Booty Queue as bq shape: queue,at:00~haul~> dvy
Ship Ledger as ledger shape: database,at:20
Powder Store at:-60
This block is intentionally invalid — piechart isn't a chart type (it
should be pie). It's included to show how Diagrammo reports a mistake, so you
know what to look for when a diagram doesn't render.