@diagrammo/dgmo 0.8.21 → 0.8.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -1
- package/README.md +1 -0
- package/dist/cli.cjs +143 -93
- package/dist/editor.cjs +17 -3
- package/dist/editor.cjs.map +1 -1
- package/dist/editor.js +17 -3
- package/dist/editor.js.map +1 -1
- package/dist/highlight.cjs +12 -2
- package/dist/highlight.cjs.map +1 -1
- package/dist/highlight.js +12 -2
- package/dist/highlight.js.map +1 -1
- package/dist/index.cjs +19997 -14886
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +331 -8
- package/dist/index.d.ts +331 -8
- package/dist/index.js +19984 -14889
- package/dist/index.js.map +1 -1
- package/docs/guide/chart-sitemap.md +18 -1
- package/docs/guide/chart-tech-radar.md +219 -0
- package/docs/guide/registry.json +1 -0
- package/docs/language-reference.md +116 -6
- package/gallery/fixtures/boxes-and-lines.dgmo +10 -3
- package/gallery/fixtures/c4-full.dgmo +2 -2
- package/gallery/fixtures/cycle/ooda-loop.dgmo +25 -0
- package/gallery/fixtures/cycle/pdca-circle-nodes.dgmo +12 -0
- package/gallery/fixtures/cycle/pdca-minimal.dgmo +6 -0
- package/gallery/fixtures/cycle/sprint-cycle-span.dgmo +17 -0
- package/gallery/fixtures/gantt-full.dgmo +2 -2
- package/gallery/fixtures/gantt.dgmo +2 -2
- package/gallery/fixtures/infra-full.dgmo +2 -2
- package/gallery/fixtures/infra.dgmo +1 -1
- package/gallery/fixtures/sequence-tags-protocols.dgmo +2 -2
- package/gallery/fixtures/sequence-tags.dgmo +2 -2
- package/gallery/fixtures/tech-radar-dense.dgmo +77 -0
- package/gallery/fixtures/tech-radar.dgmo +36 -0
- package/gallery/fixtures/timeline.dgmo +1 -1
- package/package.json +1 -1
- package/src/boxes-and-lines/layout.ts +309 -33
- package/src/boxes-and-lines/parser.ts +86 -10
- package/src/boxes-and-lines/renderer.ts +250 -91
- package/src/boxes-and-lines/types.ts +1 -1
- package/src/c4/layout.ts +8 -8
- package/src/c4/parser.ts +35 -2
- package/src/c4/renderer.ts +19 -3
- package/src/c4/types.ts +1 -0
- package/src/chart.ts +14 -7
- package/src/completion.ts +227 -0
- package/src/cycle/layout.ts +732 -0
- package/src/cycle/parser.ts +352 -0
- package/src/cycle/renderer.ts +539 -0
- package/src/cycle/types.ts +77 -0
- package/src/d3.ts +87 -8
- package/src/dgmo-router.ts +9 -0
- package/src/echarts.ts +7 -4
- package/src/editor/dgmo.grammar +5 -1
- package/src/editor/dgmo.grammar.js +1 -1
- package/src/editor/keywords.ts +14 -0
- package/src/gantt/parser.ts +2 -8
- package/src/graph/flowchart-parser.ts +15 -21
- package/src/graph/state-parser.ts +5 -10
- package/src/index.ts +50 -0
- package/src/infra/layout.ts +218 -74
- package/src/infra/parser.ts +30 -6
- package/src/infra/renderer.ts +14 -8
- package/src/infra/types.ts +10 -3
- package/src/journey-map/layout.ts +386 -0
- package/src/journey-map/parser.ts +540 -0
- package/src/journey-map/renderer.ts +1456 -0
- package/src/journey-map/types.ts +47 -0
- package/src/kanban/parser.ts +3 -10
- package/src/kanban/renderer.ts +31 -15
- package/src/mindmap/parser.ts +12 -18
- package/src/mindmap/renderer.ts +14 -13
- package/src/mindmap/text-wrap.ts +22 -12
- package/src/mindmap/types.ts +2 -2
- package/src/org/parser.ts +2 -6
- package/src/sequence/renderer.ts +144 -38
- package/src/sharing.ts +1 -0
- package/src/sitemap/layout.ts +21 -6
- package/src/sitemap/parser.ts +26 -17
- package/src/sitemap/renderer.ts +34 -0
- package/src/sitemap/types.ts +1 -0
- package/src/tech-radar/index.ts +14 -0
- package/src/tech-radar/interactive.ts +1058 -0
- package/src/tech-radar/layout.ts +190 -0
- package/src/tech-radar/parser.ts +385 -0
- package/src/tech-radar/renderer.ts +1159 -0
- package/src/tech-radar/shared.ts +187 -0
- package/src/tech-radar/types.ts +81 -0
- package/src/utils/description-helpers.ts +33 -0
- package/src/utils/legend-layout.ts +3 -1
- package/src/utils/parsing.ts +46 -7
- package/src/utils/tag-groups.ts +46 -60
|
@@ -7,7 +7,7 @@ tag Auth
|
|
|
7
7
|
Public(green)
|
|
8
8
|
Crew Only(blue)
|
|
9
9
|
|
|
10
|
-
Home | Auth: Public
|
|
10
|
+
Home | Auth: Public, description: Landing page with interactive demos
|
|
11
11
|
-shop-> Shop
|
|
12
12
|
-voyages-> Upcoming Voyages
|
|
13
13
|
-join crew-> Sign Up
|
|
@@ -39,6 +39,7 @@ Home | Auth: Public
|
|
|
39
39
|
Sign Up | Auth: Public
|
|
40
40
|
-welcome aboard-> Dashboard
|
|
41
41
|
Dashboard | Auth: Crew Only
|
|
42
|
+
description Full overview of crew activity and orders
|
|
42
43
|
-> My Orders
|
|
43
44
|
My Orders | Auth: Crew Only
|
|
44
45
|
-reorder-> Shop
|
|
@@ -140,6 +141,22 @@ Home | status: Live | owner: Marketing
|
|
|
140
141
|
Products | status: Draft | owner: Product Team
|
|
141
142
|
```
|
|
142
143
|
|
|
144
|
+
## Descriptions
|
|
145
|
+
|
|
146
|
+
Add a description to any page using the `description` keyword (indented) or pipe metadata:
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
// Pipe metadata form
|
|
150
|
+
Pricing | description: Compare plans and features
|
|
151
|
+
|
|
152
|
+
// Indented keyword form (colon optional)
|
|
153
|
+
Dashboard
|
|
154
|
+
description Full overview of crew activity and orders
|
|
155
|
+
My Orders
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Descriptions render as secondary text on the page card. The indented form must come before child pages. Multiple `description` lines accumulate into a multi-line description.
|
|
159
|
+
|
|
143
160
|
## Node Colors
|
|
144
161
|
|
|
145
162
|
Add a color name in parentheses after a page or group name:
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
# Technology Radar
|
|
2
|
+
|
|
3
|
+
```dgmo
|
|
4
|
+
tech-radar Pirate Operations Radar — Q2 1718
|
|
5
|
+
|
|
6
|
+
rings
|
|
7
|
+
Full Sail
|
|
8
|
+
Trial Run
|
|
9
|
+
Spyglass
|
|
10
|
+
Davy Jones
|
|
11
|
+
|
|
12
|
+
Tactics | quadrant: top-right
|
|
13
|
+
Ambush at Dawn | ring: Full Sail, trend: stable
|
|
14
|
+
Our most reliable boarding tactic. **90% success rate** when
|
|
15
|
+
approaching from the east with the sun behind us.
|
|
16
|
+
- Crew morale peaks at dawn — grog hasn't worn off yet
|
|
17
|
+
- Reduced cannon fire needed: *3 volleys* vs 8 at midday
|
|
18
|
+
Boarding Parties | ring: Full Sail, trend: stable
|
|
19
|
+
Decoy Flags | ring: Trial Run, trend: up
|
|
20
|
+
Flying false colours until within cannon range. Early results
|
|
21
|
+
are promising — merchant ships drop anchor **40% more often**.
|
|
22
|
+
Smoke Screens | ring: Trial Run, trend: new
|
|
23
|
+
Kraken Diplomacy | ring: Spyglass, trend: new
|
|
24
|
+
Exploring alliances with *sea monsters*. Negotiations ongoing.
|
|
25
|
+
|
|
26
|
+
Vessels | quadrant: top-left
|
|
27
|
+
Brigantine | ring: Full Sail, trend: stable
|
|
28
|
+
Our workhorse. Fast, manoeuvrable, carries **18 cannons**.
|
|
29
|
+
- Crew capacity: 100 pirates
|
|
30
|
+
- Top speed: *11 knots* in fair wind
|
|
31
|
+
Sloop | ring: Full Sail, trend: up
|
|
32
|
+
War Galleon | ring: Trial Run, trend: up
|
|
33
|
+
Captured from the Spanish fleet. Massive firepower but
|
|
34
|
+
**slow to turn** — best for convoy raids, not chases.
|
|
35
|
+
Longboat | ring: Davy Jones, trend: down
|
|
36
|
+
|
|
37
|
+
Plunder Targets | quadrant: bottom-left
|
|
38
|
+
Merchant Convoys | ring: Full Sail, trend: stable
|
|
39
|
+
Core revenue stream — **78% of total plunder**. East India
|
|
40
|
+
Company ships running the spice route remain most lucrative.
|
|
41
|
+
Port Raids | ring: Trial Run, trend: up
|
|
42
|
+
Rival Pirates | ring: Trial Run, trend: new
|
|
43
|
+
Royal Treasury Ships | ring: Spyglass, trend: new
|
|
44
|
+
High risk, astronomical reward. Requires:
|
|
45
|
+
- Inside information from *corrupt harbourmasters*
|
|
46
|
+
- At least **3 allied ships** for the blockade
|
|
47
|
+
- A really good escape plan
|
|
48
|
+
Whaling Ships | ring: Spyglass, trend: stable
|
|
49
|
+
Fishing Villages | ring: Davy Jones, trend: down
|
|
50
|
+
Terrible ROI and **bad for reputation**. The parrot union
|
|
51
|
+
filed a formal complaint.
|
|
52
|
+
|
|
53
|
+
Crew Welfare | quadrant: bottom-right
|
|
54
|
+
Grog Rations | ring: Full Sail, trend: stable
|
|
55
|
+
Non-negotiable. Cutting grog rations caused the *Great Mutiny of 1716*.
|
|
56
|
+
Sea Shanty Program | ring: Trial Run, trend: new
|
|
57
|
+
Hired a shanty master. Crew productivity up **25%** during
|
|
58
|
+
long voyages. Signature tune: *"Yo Ho Ho and a Bottle of Rum"*.
|
|
59
|
+
Dental Plan | ring: Spyglass, trend: up
|
|
60
|
+
Exploring options. Most crew down to **4 teeth** on average.
|
|
61
|
+
Parley with a Port Royal dentist scheduled for Q3.
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Overview
|
|
65
|
+
|
|
66
|
+
Technology radars visualize how an organization adopts and evaluates technologies, practices, or strategies. Inspired by the [ThoughtWorks Technology Radar](https://www.thoughtworks.com/radar), each radar arranges items ("blips") into concentric rings indicating adoption stage, grouped by quadrant categories.
|
|
67
|
+
|
|
68
|
+
Click any quadrant label to drill down into a detail view with expanded blip descriptions. Click the "Blip Legend" toggle to show or hide the numbered reference listing below the radar.
|
|
69
|
+
|
|
70
|
+
## Syntax
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
tech-radar Title
|
|
74
|
+
|
|
75
|
+
rings
|
|
76
|
+
Ring1
|
|
77
|
+
Ring2
|
|
78
|
+
|
|
79
|
+
Quadrant Name | quadrant: position
|
|
80
|
+
Blip Name | ring: RingName, trend: value
|
|
81
|
+
Description text (markdown supported)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Settings
|
|
85
|
+
|
|
86
|
+
| Key | Description | Default |
|
|
87
|
+
| --- | ----------- | ------- |
|
|
88
|
+
| `chart` | Must be `tech-radar` | — |
|
|
89
|
+
| `title` | Radar title | None |
|
|
90
|
+
|
|
91
|
+
## Rings
|
|
92
|
+
|
|
93
|
+
Rings represent adoption stages, ordered from innermost (highest commitment) to outermost (lowest). Declare them in a `rings` block:
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
rings
|
|
97
|
+
Adopt
|
|
98
|
+
Trial
|
|
99
|
+
Assess
|
|
100
|
+
Hold
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
You can use any ring names — the classic Adopt/Trial/Assess/Hold is common but not required.
|
|
104
|
+
|
|
105
|
+
### Ring Aliases
|
|
106
|
+
|
|
107
|
+
Rings support aliases for shorter blip references:
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
rings
|
|
111
|
+
Adopt alias a
|
|
112
|
+
Trial alias t
|
|
113
|
+
Assess alias x
|
|
114
|
+
Hold alias h
|
|
115
|
+
|
|
116
|
+
Quadrant | quadrant: top-right
|
|
117
|
+
Item Name | ring: a, trend: up
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Quadrants
|
|
121
|
+
|
|
122
|
+
Exactly 4 quadrants are required. Each needs a unique position:
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
Techniques | quadrant: top-right
|
|
126
|
+
Tools | quadrant: top-left
|
|
127
|
+
Platforms | quadrant: bottom-left
|
|
128
|
+
Languages | quadrant: bottom-right
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Positions:** `top-left`, `top-right`, `bottom-left`, `bottom-right`
|
|
132
|
+
|
|
133
|
+
### Custom Colors
|
|
134
|
+
|
|
135
|
+
Override the default quadrant color with `color`:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
Tools | quadrant: top-left, color: purple
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Default colors: top-left=blue, top-right=green, bottom-left=red, bottom-right=orange.
|
|
142
|
+
|
|
143
|
+
## Blips
|
|
144
|
+
|
|
145
|
+
Blips are items placed on the radar. Each is indented under its quadrant and requires a `ring` reference:
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
Kubernetes | ring: Adopt
|
|
149
|
+
Micro Frontends | ring: Trial, trend: up
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Ring matching is case-insensitive — `ring: adopt` and `ring: Adopt` both work.
|
|
153
|
+
|
|
154
|
+
## Trends
|
|
155
|
+
|
|
156
|
+
The optional `trend` metadata controls the visual indicator on each blip:
|
|
157
|
+
|
|
158
|
+
| Trend | Indicator | Meaning |
|
|
159
|
+
| ----- | --------- | ------- |
|
|
160
|
+
| `new` | Double circle | Newly added to the radar |
|
|
161
|
+
| `up` | Inward crescent | Moving toward center (higher adoption) |
|
|
162
|
+
| `down` | Outward crescent | Moving away from center (declining) |
|
|
163
|
+
| `stable` | Plain circle | No change since last assessment |
|
|
164
|
+
|
|
165
|
+
Omitting `trend` renders a plain circle (same as `stable`).
|
|
166
|
+
|
|
167
|
+
## Descriptions
|
|
168
|
+
|
|
169
|
+
Further-indented lines below a blip become its description. Descriptions support inline markdown:
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
Rust | ring: Assess, trend: new
|
|
173
|
+
Evaluating for **performance-critical** services.
|
|
174
|
+
Key benefits: *zero-cost abstractions* and `no GC pauses`.
|
|
175
|
+
- 12x throughput improvement in image pipeline
|
|
176
|
+
- See [evaluation doc](https://wiki.example.com/rust)
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Descriptions appear in the quadrant detail view and on hover/click in the main radar view.
|
|
180
|
+
|
|
181
|
+
## Complete Example
|
|
182
|
+
|
|
183
|
+
```dgmo
|
|
184
|
+
tech-radar Fleet Readiness Radar
|
|
185
|
+
|
|
186
|
+
rings
|
|
187
|
+
Battle Ready
|
|
188
|
+
Sea Trials
|
|
189
|
+
Scouting
|
|
190
|
+
Scuttle
|
|
191
|
+
|
|
192
|
+
Navigation | quadrant: top-right
|
|
193
|
+
Star Charts | ring: Battle Ready, trend: stable
|
|
194
|
+
Compass Calibration | ring: Sea Trials, trend: up
|
|
195
|
+
New lodestone from Madagascar shows **30% better accuracy**.
|
|
196
|
+
Sextant | ring: Battle Ready, trend: stable
|
|
197
|
+
Treasure Maps | ring: Scouting, trend: new
|
|
198
|
+
Celestial Tables | ring: Scouting, trend: new
|
|
199
|
+
|
|
200
|
+
Armaments | quadrant: top-left
|
|
201
|
+
Cannon Broadside | ring: Battle Ready, trend: stable
|
|
202
|
+
Greek Fire | ring: Sea Trials, trend: new
|
|
203
|
+
Chain Shot | ring: Sea Trials, trend: up
|
|
204
|
+
Catapult | ring: Scuttle, trend: down
|
|
205
|
+
|
|
206
|
+
Provisions | quadrant: bottom-left
|
|
207
|
+
Salted Pork | ring: Battle Ready, trend: stable
|
|
208
|
+
Citrus Rations | ring: Sea Trials, trend: up
|
|
209
|
+
Reduced scurvy cases by **80%** in trial crews.
|
|
210
|
+
Rum Distillation | ring: Scouting, trend: new
|
|
211
|
+
Hardtack | ring: Scuttle, trend: down
|
|
212
|
+
Barnacle Soup | ring: Scuttle, trend: down
|
|
213
|
+
|
|
214
|
+
Morale | quadrant: bottom-right
|
|
215
|
+
Shore Leave | ring: Battle Ready, trend: stable
|
|
216
|
+
Sea Shanties | ring: Battle Ready, trend: up
|
|
217
|
+
Parrot Companions | ring: Scouting, trend: new
|
|
218
|
+
Plank Walking | ring: Scuttle, trend: down
|
|
219
|
+
```
|
package/docs/guide/registry.json
CHANGED
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
{ "slug": "chart-org", "title": "Org Chart", "group": "business", "file": "chart-org.md" },
|
|
43
43
|
{ "slug": "chart-quadrant", "title": "Quadrant Chart", "group": "business", "file": "chart-quadrant.md" },
|
|
44
44
|
{ "slug": "chart-sankey", "title": "Sankey Diagram", "group": "business", "file": "chart-sankey.md" },
|
|
45
|
+
{ "slug": "chart-tech-radar", "title": "Technology Radar", "group": "business", "file": "chart-tech-radar.md" },
|
|
45
46
|
{ "slug": "chart-venn", "title": "Venn Diagram (Beta)", "group": "business", "file": "chart-venn.md" },
|
|
46
47
|
{ "slug": "chart-wordcloud", "title": "Word Cloud", "group": "business", "file": "chart-wordcloud.md" },
|
|
47
48
|
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
14. [Timeline Diagrams](#14-timeline-diagrams)
|
|
21
21
|
15. [Data Charts](#15-data-charts)
|
|
22
22
|
16. [Visualizations](#16-visualizations)
|
|
23
|
-
17. [
|
|
24
|
-
18. [
|
|
23
|
+
17. [Tech Radar Diagrams](#17-tech-radar-diagrams)
|
|
24
|
+
18. [Wireframe Diagrams](#18-wireframe-diagrams)
|
|
25
|
+
19. [Colon Usage Summary](#19-colon-usage-summary)
|
|
25
26
|
|
|
26
27
|
---
|
|
27
28
|
|
|
@@ -609,7 +610,28 @@ deployment
|
|
|
609
610
|
container Web App // reference existing container
|
|
610
611
|
```
|
|
611
612
|
|
|
612
|
-
### 7.7
|
|
613
|
+
### 7.7 Element Descriptions
|
|
614
|
+
|
|
615
|
+
```
|
|
616
|
+
// Indented metadata form (colon required)
|
|
617
|
+
Web App is a container
|
|
618
|
+
description: SPA built with React
|
|
619
|
+
description: Supports SSR and client-side routing
|
|
620
|
+
|
|
621
|
+
// Keyword form (colon optional)
|
|
622
|
+
API is a container
|
|
623
|
+
description Handles all REST endpoints
|
|
624
|
+
|
|
625
|
+
// Pipe metadata form
|
|
626
|
+
Database is a container | description: PostgreSQL with read replicas
|
|
627
|
+
```
|
|
628
|
+
|
|
629
|
+
- Multiple `description` lines accumulate into a multi-line description
|
|
630
|
+
- `description` is extracted as a dedicated field, not stored in general metadata
|
|
631
|
+
- Supports inline markdown: `**bold**`, `*italic*`, `` `code` ``, `[links](url)`
|
|
632
|
+
- `- bullet text` renders as `• bullet text`
|
|
633
|
+
|
|
634
|
+
### 7.8 Options
|
|
613
635
|
|
|
614
636
|
- `direction-tb` (boolean; default is LR)
|
|
615
637
|
|
|
@@ -813,7 +835,28 @@ All permutations supported: node→group, group→node, group→group. Brackets
|
|
|
813
835
|
Pricing | Auth: Public
|
|
814
836
|
```
|
|
815
837
|
|
|
816
|
-
### 11.5
|
|
838
|
+
### 11.5 Node Descriptions
|
|
839
|
+
|
|
840
|
+
```
|
|
841
|
+
// Keyword form (colon optional)
|
|
842
|
+
About
|
|
843
|
+
description Company history and team bios
|
|
844
|
+
|
|
845
|
+
// Pipe metadata form
|
|
846
|
+
Pricing | description: Compare plans and features
|
|
847
|
+
|
|
848
|
+
// Multi-line
|
|
849
|
+
Blog
|
|
850
|
+
description: Engineering and product updates
|
|
851
|
+
description: Published weekly
|
|
852
|
+
```
|
|
853
|
+
|
|
854
|
+
- `description` keyword required (bare prose lines are not auto-detected as descriptions)
|
|
855
|
+
- Multiple `description` lines accumulate into a multi-line description
|
|
856
|
+
- Supports inline markdown: `**bold**`, `*italic*`, `` `code` ``, `[links](url)`
|
|
857
|
+
- `- bullet text` renders as `• bullet text`
|
|
858
|
+
|
|
859
|
+
### 11.6 Options
|
|
817
860
|
|
|
818
861
|
- `direction-tb` (boolean; default is LR)
|
|
819
862
|
|
|
@@ -1327,7 +1370,73 @@ Navigator 0.85 0.8
|
|
|
1327
1370
|
|
|
1328
1371
|
---
|
|
1329
1372
|
|
|
1330
|
-
## 17.
|
|
1373
|
+
## 17. Tech Radar Diagrams
|
|
1374
|
+
|
|
1375
|
+
```
|
|
1376
|
+
tech-radar Title
|
|
1377
|
+
|
|
1378
|
+
rings
|
|
1379
|
+
Adopt
|
|
1380
|
+
Trial
|
|
1381
|
+
Assess
|
|
1382
|
+
Hold
|
|
1383
|
+
|
|
1384
|
+
Techniques | quadrant: top-right
|
|
1385
|
+
Continuous Deployment | ring: Adopt, trend: stable
|
|
1386
|
+
Fully adopted across all services.
|
|
1387
|
+
Micro Frontends | ring: Trial, trend: up
|
|
1388
|
+
|
|
1389
|
+
Tools | quadrant: top-left
|
|
1390
|
+
Vite | ring: Adopt, trend: up
|
|
1391
|
+
Webpack | ring: Hold, trend: down
|
|
1392
|
+
```
|
|
1393
|
+
|
|
1394
|
+
### Rings
|
|
1395
|
+
|
|
1396
|
+
Declared in a `rings` block, one per indented line. Order: innermost (first) to outermost (last). Any names, any count.
|
|
1397
|
+
|
|
1398
|
+
Aliases supported: `Adopt alias a` — then blips can use `ring: a`.
|
|
1399
|
+
|
|
1400
|
+
### Quadrants
|
|
1401
|
+
|
|
1402
|
+
Exactly 4 required. Each is a top-level header with pipe metadata:
|
|
1403
|
+
|
|
1404
|
+
```
|
|
1405
|
+
Name | quadrant: position
|
|
1406
|
+
```
|
|
1407
|
+
|
|
1408
|
+
**Positions:** `top-left`, `top-right`, `bottom-left`, `bottom-right` — each used exactly once.
|
|
1409
|
+
|
|
1410
|
+
Optional color override: `Tools | quadrant: top-left, color: purple`
|
|
1411
|
+
|
|
1412
|
+
Default colors: top-left=blue, top-right=green, bottom-left=red, bottom-right=orange.
|
|
1413
|
+
|
|
1414
|
+
### Blips
|
|
1415
|
+
|
|
1416
|
+
Indented under their quadrant. Require `ring` metadata (case-insensitive match). Optional `trend`:
|
|
1417
|
+
|
|
1418
|
+
```
|
|
1419
|
+
Item Name | ring: Adopt, trend: stable
|
|
1420
|
+
```
|
|
1421
|
+
|
|
1422
|
+
**Trends:** `new` (double circle), `up` (inward crescent), `down` (outward crescent), `stable` (plain circle). Omitting renders plain circle.
|
|
1423
|
+
|
|
1424
|
+
### Descriptions
|
|
1425
|
+
|
|
1426
|
+
Further-indented lines below a blip. Supports inline markdown (bold, italic, code, links).
|
|
1427
|
+
|
|
1428
|
+
```
|
|
1429
|
+
Rust | ring: Assess, trend: new
|
|
1430
|
+
Evaluating for **performance-critical** services.
|
|
1431
|
+
```
|
|
1432
|
+
|
|
1433
|
+
### Numbering
|
|
1434
|
+
|
|
1435
|
+
Blips receive sequential global numbers. Order: quadrants clockwise (top-left → top-right → bottom-right → bottom-left), then by ring (innermost first), then declaration order.
|
|
1436
|
+
|
|
1437
|
+
---
|
|
1438
|
+
|
|
1439
|
+
## 18. Wireframe Diagrams
|
|
1331
1440
|
|
|
1332
1441
|
Wireframe diagrams use **visual-mnemonic syntax** where bracket characters communicate element type.
|
|
1333
1442
|
|
|
@@ -1461,7 +1570,7 @@ wireframe Login Page
|
|
|
1461
1570
|
|
|
1462
1571
|
---
|
|
1463
1572
|
|
|
1464
|
-
##
|
|
1573
|
+
## 19. Colon Usage Summary
|
|
1465
1574
|
|
|
1466
1575
|
### Constructs Where Colons Are REQUIRED
|
|
1467
1576
|
|
|
@@ -1480,6 +1589,7 @@ wireframe Login Page
|
|
|
1480
1589
|
| Construct | Diagram Type | Example |
|
|
1481
1590
|
|-----------|-------------|---------|
|
|
1482
1591
|
| Class relationship label | class | `--|> Vessel : extends` or `--|> Vessel extends` |
|
|
1592
|
+
| Description keyword (indented) | sitemap, c4 | `description text` or `description: text` |
|
|
1483
1593
|
|
|
1484
1594
|
### Colons NOT USED
|
|
1485
1595
|
|
|
@@ -9,20 +9,27 @@ hide priority:Low
|
|
|
9
9
|
direction LR
|
|
10
10
|
|
|
11
11
|
// --- Services ---
|
|
12
|
-
API Gateway | t: Backend
|
|
12
|
+
API Gateway | t: Backend
|
|
13
|
+
Main entry point for all requests
|
|
14
|
+
Routes to **backend services**
|
|
13
15
|
-routes-> UserService
|
|
14
16
|
-routes-> ProductService
|
|
15
17
|
-routes-> OrderService
|
|
16
18
|
|
|
17
|
-
UserService | t: Backend
|
|
19
|
+
UserService | t: Backend
|
|
20
|
+
Handles auth and profiles
|
|
21
|
+
Uses `JWT` tokens for sessions
|
|
18
22
|
-reads-> UserDB
|
|
19
23
|
-checks-> SessionCache
|
|
20
24
|
|
|
21
25
|
ProductService | t: Frontend, description: Product catalog and search
|
|
26
|
+
Supports *full-text* search
|
|
22
27
|
-queries-> ProductDB
|
|
23
28
|
-invalidates-> ProductCache
|
|
24
29
|
|
|
25
|
-
OrderService | t: Backend
|
|
30
|
+
OrderService | t: Backend
|
|
31
|
+
Order processing pipeline
|
|
32
|
+
Validates inventory before commit
|
|
26
33
|
-writes-> OrderDB
|
|
27
34
|
-publishes-> OrderQueue
|
|
28
35
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
cycle OODA Loop
|
|
2
|
+
|
|
3
|
+
Observe | color: blue
|
|
4
|
+
Gather raw information from the environment
|
|
5
|
+
Monitor unfolding circumstances
|
|
6
|
+
-Unfold circumstances-> | color: blue
|
|
7
|
+
Synthesize raw data into actionable context
|
|
8
|
+
Identify **key patterns** and anomalies
|
|
9
|
+
|
|
10
|
+
Orient | color: green
|
|
11
|
+
Analyze and synthesize observations
|
|
12
|
+
Form a mental model of the situation
|
|
13
|
+
-Form hypothesis-> | color: green
|
|
14
|
+
Apply previous experience and cultural filters
|
|
15
|
+
Perform *destructive deduction* to break old models
|
|
16
|
+
|
|
17
|
+
Decide | color: orange
|
|
18
|
+
Select a course of action
|
|
19
|
+
-Commit to action-> | color: orange
|
|
20
|
+
|
|
21
|
+
Act | color: red
|
|
22
|
+
Execute the chosen course of action
|
|
23
|
+
Generate results that feed back
|
|
24
|
+
-Generate feedback-> | color: red
|
|
25
|
+
Results flow back into observation
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
cycle Sprint Cycle
|
|
2
|
+
|
|
3
|
+
Planning | color: blue, span: 1
|
|
4
|
+
Sprint kickoff and backlog grooming
|
|
5
|
+
-Start sprint->
|
|
6
|
+
|
|
7
|
+
Development | color: green, span: 3
|
|
8
|
+
Build and test features
|
|
9
|
+
-Demo ready->
|
|
10
|
+
|
|
11
|
+
Review | color: orange, span: 1
|
|
12
|
+
Sprint demo and stakeholder feedback
|
|
13
|
+
-Retrospective->
|
|
14
|
+
|
|
15
|
+
Retro | color: purple, span: 0.5
|
|
16
|
+
Team reflection and process improvement
|
|
17
|
+
-Next sprint->
|
|
@@ -4,13 +4,13 @@ today-marker 2024-03-01
|
|
|
4
4
|
critical-path
|
|
5
5
|
dependencies
|
|
6
6
|
|
|
7
|
-
tag Team
|
|
7
|
+
tag Team t
|
|
8
8
|
Engineering(blue)
|
|
9
9
|
Design(purple)
|
|
10
10
|
QA(orange)
|
|
11
11
|
Marketing(green)
|
|
12
12
|
|
|
13
|
-
tag Phase
|
|
13
|
+
tag Phase p
|
|
14
14
|
Foundation(green)
|
|
15
15
|
Growth(orange)
|
|
16
16
|
Launch(red)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
sequence Order Fulfillment — Protocols & Ownership
|
|
2
2
|
active-tag Protocol
|
|
3
3
|
|
|
4
|
-
tag Protocol
|
|
4
|
+
tag Protocol p
|
|
5
5
|
REST(blue)
|
|
6
6
|
gRPC(green)
|
|
7
7
|
Async(orange)
|
|
8
8
|
SQL(purple)
|
|
9
9
|
|
|
10
|
-
tag Owner
|
|
10
|
+
tag Owner o
|
|
11
11
|
Checkout(teal)
|
|
12
12
|
Fulfillment(orange)
|
|
13
13
|
Payments(red)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
sequence API Gateway — Infrastructure Concerns
|
|
2
2
|
active-tag Concern
|
|
3
3
|
|
|
4
|
-
tag Concern
|
|
4
|
+
tag Concern c
|
|
5
5
|
Caching(blue)
|
|
6
6
|
Auth(green)
|
|
7
7
|
RateLimiting(orange)
|
|
8
8
|
BusinessLogic(purple) default
|
|
9
9
|
|
|
10
|
-
tag Team
|
|
10
|
+
tag Team t
|
|
11
11
|
Platform(teal)
|
|
12
12
|
Product(orange)
|
|
13
13
|
Security(red)
|