MapUML is a text-based syntax for rendering interactive tactical diagrams.
Syntax Example:
title Sloviansk Direction
regions Donetsk, Luhansk
attacker 3rd Motor Rifle
defender 54th Brigade
settlement Zakytne
ru advance Zakytne -> Kryva Luka -> NE
ua note "Ambush" at Kryva Luka
Available Commands:
title [Name] - Sets the UI title
regions [Names] - Optional comma-separated region constraint
attacker|defender|settlement [Name] - Spawns entity. Supports * fuzzy matching
[ru|ua] advance [A]->[B]->[Dir] - Draws dashed advance line and arrow
[ru|ua] note "Text" at [A] - Places colored annotation at entity
Tips:
- If a name can't be resolved, inject manual coordinates:
[Alias: lat, lon]
- In Edit Mode with Settlements enabled, click any settlement on the map and press Pick Location to pin the exact coordinates into the script — useful when auto-resolution picks the wrong settlement.
LLM Prompt Template:
Copy this into ChatGPT/Claude along with your source text: