@formicoidea/labre-framework-uml 3.4.0 → 3.5.0

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.
@@ -14,22 +14,22 @@ import { UML_CARD, UML_FRAME_INK, UML_INK } from '../consts.js';
14
14
  * Everything below it is a 24×24 monochrome outline drawn in `currentColor`,
15
15
  * because a command glyph sits in a menu row and takes the row's colour.
16
16
  */
17
- export const umlToolbarIcon = svg `
18
- <svg viewBox="0 0 56 56" width="100%" height="100%" fill="none"
19
- xmlns="http://www.w3.org/2000/svg">
20
- <rect x="4" y="9" width="26" height="30" rx="1.5" fill="${UML_CARD}"
21
- stroke="${UML_INK}" stroke-width="2"/>
22
- <path d="M4 19 H30 M4 29 H30" stroke="${UML_INK}" stroke-width="2"/>
23
- <rect x="9" y="12.5" width="16" height="3" rx="1.5" fill="${UML_INK}"/>
24
- <rect x="9" y="22.5" width="12" height="2.5" rx="1.25" fill="${UML_FRAME_INK}"
25
- opacity="0.75"/>
26
- <rect x="9" y="32.5" width="14" height="2.5" rx="1.25" fill="${UML_FRAME_INK}"
27
- opacity="0.75"/>
28
- <ellipse cx="39.5" cy="35" rx="13" ry="9" fill="${UML_CARD}"
29
- stroke="${UML_FRAME_INK}" stroke-width="2"/>
30
- <rect x="33" y="33.5" width="13" height="3" rx="1.5" fill="${UML_FRAME_INK}"
31
- opacity="0.75"/>
32
- </svg>
17
+ export const umlToolbarIcon = svg `
18
+ <svg viewBox="0 0 56 56" width="100%" height="100%" fill="none"
19
+ xmlns="http://www.w3.org/2000/svg">
20
+ <rect x="4" y="9" width="26" height="30" rx="1.5" fill="${UML_CARD}"
21
+ stroke="${UML_INK}" stroke-width="2"/>
22
+ <path d="M4 19 H30 M4 29 H30" stroke="${UML_INK}" stroke-width="2"/>
23
+ <rect x="9" y="12.5" width="16" height="3" rx="1.5" fill="${UML_INK}"/>
24
+ <rect x="9" y="22.5" width="12" height="2.5" rx="1.25" fill="${UML_FRAME_INK}"
25
+ opacity="0.75"/>
26
+ <rect x="9" y="32.5" width="14" height="2.5" rx="1.25" fill="${UML_FRAME_INK}"
27
+ opacity="0.75"/>
28
+ <ellipse cx="39.5" cy="35" rx="13" ry="9" fill="${UML_CARD}"
29
+ stroke="${UML_FRAME_INK}" stroke-width="2"/>
30
+ <rect x="33" y="33.5" width="13" height="3" rx="1.5" fill="${UML_FRAME_INK}"
31
+ opacity="0.75"/>
32
+ </svg>
33
33
  `;
34
34
  /* ── The sheet and the frame drawn round part of it ─────────────────────── */
35
35
  /**
@@ -37,72 +37,72 @@ export const umlToolbarIcon = svg `
37
37
  * cut-corner name tag in its top-left corner, which is what tells a UML frame
38
38
  * from any other box on the canvas.
39
39
  */
40
- export const umlDiagramIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
41
- <rect x="2.5" y="4" width="19" height="16" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
42
- <path d="M2.5 4 H11 L13 6.4 V9 H2.5 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
40
+ export const umlDiagramIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
41
+ <rect x="2.5" y="4" width="19" height="16" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
42
+ <path d="M2.5 4 H11 L13 6.4 V9 H2.5 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
43
43
  </svg>`;
44
44
  /**
45
45
  * Subject — the rectangle a use-case diagram draws round the use cases that
46
46
  * belong to one system (§18.1.1): a plain frame, its name along the top.
47
47
  */
48
- export const umlSubjectIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
49
- <rect x="3" y="4.5" width="18" height="15" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
50
- <path d="M6 8 H14" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
51
- <ellipse cx="12" cy="14.5" rx="5.5" ry="3" stroke="currentColor" stroke-width="1.3"/>
48
+ export const umlSubjectIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
49
+ <rect x="3" y="4.5" width="18" height="15" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
50
+ <path d="M6 8 H14" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
51
+ <ellipse cx="12" cy="14.5" rx="5.5" ry="3" stroke="currentColor" stroke-width="1.3"/>
52
52
  </svg>`;
53
53
  /* ── The classifiers: the three-compartment box and what varies on it ───── */
54
54
  /** Class — the canonical three-compartment rectangle (§11.4.4). */
55
- export const umlClassIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
56
- <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
57
- <path d="M4 9 H20 M4 15 H20" stroke="currentColor" stroke-width="1.4"/>
55
+ export const umlClassIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
56
+ <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
57
+ <path d="M4 9 H20 M4 15 H20" stroke="currentColor" stroke-width="1.4"/>
58
58
  </svg>`;
59
59
  /**
60
60
  * Interface — the same box, with the guillemets keyword above the name
61
61
  * (§10.4.2.1). Drawn as the two chevrons, which is the whole of what
62
62
  * `«interface»` looks like at this size.
63
63
  */
64
- export const umlInterfaceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
65
- <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
66
- <path d="M4 15 H20" stroke="currentColor" stroke-width="1.4"/>
67
- <path d="M10 7 L8 9.2 L10 11.4 M14 7 L16 9.2 L14 11.4" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
64
+ export const umlInterfaceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
65
+ <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
66
+ <path d="M4 15 H20" stroke="currentColor" stroke-width="1.4"/>
67
+ <path d="M10 7 L8 9.2 L10 11.4 M14 7 L16 9.2 L14 11.4" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
68
68
  </svg>`;
69
69
  /**
70
70
  * Enumeration — the box whose lower compartment is a LIST of literals
71
71
  * (§10.2.4): three stacked rules rather than the two tiers of a class.
72
72
  */
73
- export const umlEnumerationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
74
- <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
75
- <path d="M4 9 H20" stroke="currentColor" stroke-width="1.4"/>
76
- <path d="M7 12 H17 M7 15 H17 M7 18 H13" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
73
+ export const umlEnumerationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
74
+ <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
75
+ <path d="M4 9 H20" stroke="currentColor" stroke-width="1.4"/>
76
+ <path d="M7 12 H17 M7 15 H17 M7 18 H13" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
77
77
  </svg>`;
78
78
  /**
79
79
  * Object — an instance specification: the same box with its name UNDERLINED,
80
80
  * which is the one notation that tells an instance from its classifier
81
81
  * (§9.8.4).
82
82
  */
83
- export const umlObjectIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
84
- <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
85
- <path d="M4 11 H20" stroke="currentColor" stroke-width="1.4"/>
86
- <path d="M7.5 8.4 H16.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
83
+ export const umlObjectIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
84
+ <rect x="4" y="3.5" width="16" height="17" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
85
+ <path d="M4 11 H20" stroke="currentColor" stroke-width="1.4"/>
86
+ <path d="M7.5 8.4 H16.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
87
87
  </svg>`;
88
88
  /** Package — the folder: a tab over a body (§12.2.4). */
89
- export const umlPackageIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
90
- <path d="M3 6.5 H10 L11.6 9 H21 V19 H3 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
91
- <path d="M3 9 H11.6" stroke="currentColor" stroke-width="1.4"/>
89
+ export const umlPackageIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
90
+ <path d="M3 6.5 H10 L11.6 9 H21 V19 H3 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
91
+ <path d="M3 9 H11.6" stroke="currentColor" stroke-width="1.4"/>
92
92
  </svg>`;
93
93
  /** Note — the rectangle with its top-right corner turned down (§7.5.4). */
94
- export const umlNoteIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
95
- <path d="M4 4.5 H15.5 L20 9 V19.5 H4 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
96
- <path d="M15.5 4.5 V9 H20" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
94
+ export const umlNoteIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
95
+ <path d="M4 4.5 H15.5 L20 9 V19.5 H4 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
96
+ <path d="M15.5 4.5 V9 H20" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
97
97
  </svg>`;
98
98
  /** Actor — the stick figure (§18.1.1). */
99
- export const umlActorIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
100
- <circle cx="12" cy="5.5" r="2.6" stroke="currentColor" stroke-width="1.6"/>
101
- <path d="M12 8.5 V15 M7 11 H17 M12 15 L8.5 20 M12 15 L15.5 20" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
99
+ export const umlActorIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
100
+ <circle cx="12" cy="5.5" r="2.6" stroke="currentColor" stroke-width="1.6"/>
101
+ <path d="M12 8.5 V15 M7 11 H17 M12 15 L8.5 20 M12 15 L15.5 20" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
102
102
  </svg>`;
103
103
  /** Use case — the ellipse, and nothing else (§18.1.1). */
104
- export const umlUseCaseIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
105
- <ellipse cx="12" cy="12" rx="9" ry="6" stroke="currentColor" stroke-width="1.6"/>
104
+ export const umlUseCaseIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
105
+ <ellipse cx="12" cy="12" rx="9" ry="6" stroke="currentColor" stroke-width="1.6"/>
106
106
  </svg>`;
107
107
  /* ── Phase 2: what a component diagram is made of ───────────────────────── */
108
108
  /**
@@ -110,10 +110,10 @@ export const umlUseCaseIcon = svg `<svg width="24" height="24" viewBox="0 0 24 2
110
110
  * (§11.6.4). The one classifier UML announces with a MARK rather than with a
111
111
  * keyword, which is why the glyph is the mark and not a box with words in it.
112
112
  */
113
- export const umlComponentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
114
- <rect x="7" y="4.5" width="13" height="15" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
115
- <rect x="4" y="7.5" width="6" height="3.5" rx="0.6" stroke="currentColor" stroke-width="1.4"/>
116
- <rect x="4" y="13" width="6" height="3.5" rx="0.6" stroke="currentColor" stroke-width="1.4"/>
113
+ export const umlComponentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
114
+ <rect x="7" y="4.5" width="13" height="15" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
115
+ <rect x="4" y="7.5" width="6" height="3.5" rx="0.6" stroke="currentColor" stroke-width="1.4"/>
116
+ <rect x="4" y="13" width="6" height="3.5" rx="0.6" stroke="currentColor" stroke-width="1.4"/>
117
117
  </svg>`;
118
118
  /**
119
119
  * Port — the small square straddling the border of what owns it (§11.3.4).
@@ -121,14 +121,14 @@ export const umlComponentIcon = svg `<svg width="24" height="24" viewBox="0 0 24
121
121
  * means is that it sits ON the boundary: a square inside the box would be a
122
122
  * part, and one outside it would be a neighbour.
123
123
  */
124
- export const umlPortIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
125
- <rect x="3" y="5" width="13" height="14" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
126
- <rect x="13" y="9" width="6" height="6" rx="0.5" fill="currentColor"/>
124
+ export const umlPortIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
125
+ <rect x="3" y="5" width="13" height="14" rx="1.2" stroke="currentColor" stroke-width="1.6"/>
126
+ <rect x="13" y="9" width="6" height="6" rx="0.5" fill="currentColor"/>
127
127
  </svg>`;
128
128
  /** Provided interface — the LOLLIPOP: a stub ending in a full circle (§10.4.4). */
129
- export const umlProvidedInterfaceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
130
- <path d="M2.5 12 H12" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
131
- <circle cx="16" cy="12" r="4.2" stroke="currentColor" stroke-width="1.6"/>
129
+ export const umlProvidedInterfaceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
130
+ <path d="M2.5 12 H12" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
131
+ <circle cx="16" cy="12" r="4.2" stroke="currentColor" stroke-width="1.6"/>
132
132
  </svg>`;
133
133
  /**
134
134
  * Required interface — the SOCKET: the same stub ending in the half circle that
@@ -136,9 +136,9 @@ export const umlProvidedInterfaceIcon = svg `<svg width="24" height="24" viewBox
136
136
  * makes an assembly read as one joint rather than as two marks that happen to
137
137
  * touch.
138
138
  */
139
- export const umlRequiredInterfaceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
140
- <path d="M2.5 12 H12" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
141
- <path d="M16.5 7.5 A4.5 4.5 0 0 0 16.5 16.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
139
+ export const umlRequiredInterfaceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
140
+ <path d="M2.5 12 H12" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
141
+ <path d="M16.5 7.5 A4.5 4.5 0 0 0 16.5 16.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
142
142
  </svg>`;
143
143
  /* ── Phase 2: what a deployment diagram is made of ──────────────────────── */
144
144
  /**
@@ -146,38 +146,38 @@ export const umlRequiredInterfaceIcon = svg `<svg width="24" height="24" viewBox
146
146
  * note beside it by the lines written ON it: a note is a comment about the
147
147
  * model, an artifact is a FILE that is part of the system.
148
148
  */
149
- export const umlArtifactIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
150
- <path d="M5.5 3.5 H14.5 L18.5 7.5 V20.5 H5.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
151
- <path d="M14.5 3.5 V7.5 H18.5" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
152
- <path d="M8.5 12 H15.5 M8.5 15.5 H13" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
149
+ export const umlArtifactIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
150
+ <path d="M5.5 3.5 H14.5 L18.5 7.5 V20.5 H5.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
151
+ <path d="M14.5 3.5 V7.5 H18.5" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
152
+ <path d="M8.5 12 H15.5 M8.5 15.5 H13" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
153
153
  </svg>`;
154
154
  /** The cube every deployment target is drawn as (§19.4.4) — front, top, side. */
155
155
  const cube = 'M3 8 H16 V20 H3 Z';
156
156
  const cubeBack = 'M3 8 L7 4 H20 V16 L16 20 M16 8 L20 4';
157
157
  /** Node — the bare 3D box: a computational resource, and nothing said of it. */
158
- export const umlNodeIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
159
- <path d="${cube}" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
160
- <path d="${cubeBack}" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
158
+ export const umlNodeIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
159
+ <path d="${cube}" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
160
+ <path d="${cubeBack}" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
161
161
  </svg>`;
162
162
  /**
163
163
  * Device — the same cube, carrying the filled chip that says this node is a
164
164
  * piece of HARDWARE (§19.4.4's `«device»`, as a mark rather than as a word,
165
165
  * because a 24-unit glyph has no room for a keyword).
166
166
  */
167
- export const umlDeviceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
168
- <path d="${cube}" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
169
- <path d="${cubeBack}" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
170
- <rect x="6" y="12" width="7" height="4.5" rx="0.6" fill="currentColor"/>
167
+ export const umlDeviceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
168
+ <path d="${cube}" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
169
+ <path d="${cubeBack}" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
170
+ <rect x="6" y="12" width="7" height="4.5" rx="0.6" fill="currentColor"/>
171
171
  </svg>`;
172
172
  /**
173
173
  * Execution environment — the cube with the RUN mark on its face: software that
174
174
  * other software is deployed into (§19.4.4's `«executionEnvironment»`), which is
175
175
  * exactly the distinction from the device beside it.
176
176
  */
177
- export const umlExecutionEnvironmentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
178
- <path d="${cube}" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
179
- <path d="${cubeBack}" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
180
- <path d="M7 11.5 L12.5 14.3 L7 17 Z" fill="currentColor"/>
177
+ export const umlExecutionEnvironmentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
178
+ <path d="${cube}" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
179
+ <path d="${cubeBack}" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
180
+ <path d="M7 11.5 L12.5 14.3 L7 17 Z" fill="currentColor"/>
181
181
  </svg>`;
182
182
  /* ── Phase 2: what an ACTIVITY diagram is made of (§15, §16) ────────────── */
183
183
  /**
@@ -185,70 +185,70 @@ export const umlExecutionEnvironmentIcon = svg `<svg width="24" height="24" view
185
185
  * activity diagram that holds a sentence. The corners are the whole of what
186
186
  * tells it from a class box at this size, so they are drawn generously.
187
187
  */
188
- export const umlActionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
189
- <rect x="3" y="7" width="18" height="10" rx="4" stroke="currentColor" stroke-width="1.6"/>
188
+ export const umlActionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
189
+ <rect x="3" y="7" width="18" height="10" rx="4" stroke="currentColor" stroke-width="1.6"/>
190
190
  </svg>`;
191
191
  /**
192
192
  * Initial node — the FILLED disc where a flow begins (§15.3.4), with the first
193
193
  * arrow leaving it. One per region, and the arrow is what says the disc is a
194
194
  * start rather than a junction.
195
195
  */
196
- export const umlInitialIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
197
- <circle cx="7" cy="12" r="4.5" fill="currentColor"/>
198
- <path d="M12.5 12 H19" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
199
- <path d="M16.5 9 L20 12 L16.5 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
196
+ export const umlInitialIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
197
+ <circle cx="7" cy="12" r="4.5" fill="currentColor"/>
198
+ <path d="M12.5 12 H19" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
199
+ <path d="M16.5 9 L20 12 L16.5 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
200
200
  </svg>`;
201
201
  /**
202
202
  * Activity final — the BULLSEYE that ends the whole activity (§15.3.4): every
203
203
  * token in it stops, not only the one that arrived.
204
204
  */
205
- export const umlActivityFinalIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
206
- <circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
207
- <circle cx="12" cy="12" r="4.5" fill="currentColor"/>
205
+ export const umlActivityFinalIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
206
+ <circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
207
+ <circle cx="12" cy="12" r="4.5" fill="currentColor"/>
208
208
  </svg>`;
209
209
  /**
210
210
  * Flow final — the circle with the CROSS through it (§15.3.4): this one token
211
211
  * ends here and the rest of the activity carries on. The distinction the
212
212
  * bullseye beside it cannot draw, and the one everybody forgets exists.
213
213
  */
214
- export const umlFlowFinalIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
215
- <circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
216
- <path d="M8.5 8.5 L15.5 15.5 M15.5 8.5 L8.5 15.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
214
+ export const umlFlowFinalIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
215
+ <circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
216
+ <path d="M8.5 8.5 L15.5 15.5 M15.5 8.5 L8.5 15.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
217
217
  </svg>`;
218
218
  /**
219
219
  * Decision — the diamond one token leaves by ONE branch (§15.3.4). The two
220
220
  * outgoing stubs are the glyph's argument: a bare diamond is a shape, a diamond
221
221
  * with a choice coming out of it is a decision.
222
222
  */
223
- export const umlDecisionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
224
- <path d="M9 12 L14 6.5 L19 12 L14 17.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
225
- <path d="M2.5 12 H9" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
223
+ export const umlDecisionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
224
+ <path d="M9 12 L14 6.5 L19 12 L14 17.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
225
+ <path d="M2.5 12 H9" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
226
226
  </svg>`;
227
227
  /**
228
228
  * Fork — the filled BAR one token leaves by every branch at once (§15.3.4),
229
229
  * which is exactly the difference from the diamond above: concurrency, not
230
230
  * choice. Drawn with the two outgoing lines, because a bar on its own is a rule.
231
231
  */
232
- export const umlForkIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
233
- <rect x="10" y="4" width="3.5" height="16" rx="0.6" fill="currentColor"/>
234
- <path d="M3 12 H10" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
235
- <path d="M13.5 8 H20 M13.5 16 H20" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
232
+ export const umlForkIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
233
+ <rect x="10" y="4" width="3.5" height="16" rx="0.6" fill="currentColor"/>
234
+ <path d="M3 12 H10" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
235
+ <path d="M13.5 8 H20 M13.5 16 H20" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
236
236
  </svg>`;
237
237
  /**
238
238
  * Object node — the plain rectangle DATA travels through (§15.4.4), drawn with
239
239
  * the flow entering and leaving it. The arrows are not decoration: an object
240
240
  * node is told from every other rectangle on the sheet by sitting ON a flow.
241
241
  */
242
- export const umlObjectNodeIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
243
- <rect x="7" y="8" width="10" height="8" stroke="currentColor" stroke-width="1.6"/>
244
- <path d="M2.5 12 H7 M17 12 H21.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
242
+ export const umlObjectNodeIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
243
+ <rect x="7" y="8" width="10" height="8" stroke="currentColor" stroke-width="1.6"/>
244
+ <path d="M2.5 12 H7 M17 12 H21.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
245
245
  </svg>`;
246
246
  /**
247
247
  * Send signal — the CONVEX pentagon of §16.3.4: a box with its right edge
248
248
  * pushed out into a point, which is the message leaving.
249
249
  */
250
- export const umlSendSignalIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
251
- <path d="M3 7 H15 L20 12 L15 17 H3 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
250
+ export const umlSendSignalIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
251
+ <path d="M3 7 H15 L20 12 L15 17 H3 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
252
252
  </svg>`;
253
253
  /**
254
254
  * Accept event — the CONCAVE pentagon of §16.10.4: the same box with its LEFT
@@ -256,22 +256,22 @@ export const umlSendSignalIcon = svg `<svg width="24" height="24" viewBox="0 0 2
256
256
  * on an activity diagram a reader tells apart by silhouette alone, which is why
257
257
  * the two glyphs are deliberately mirror images.
258
258
  */
259
- export const umlAcceptEventIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
260
- <path d="M3 7 H21 V17 H3 L8 12 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
259
+ export const umlAcceptEventIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
260
+ <path d="M3 7 H21 V17 H3 L8 12 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
261
261
  </svg>`;
262
262
  /** Time event — the HOURGLASS that fires when its moment comes (§16.10.4). */
263
- export const umlTimeEventIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
264
- <path d="M6 4 H18 L6 20 H18" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" stroke-linecap="round"/>
265
- <path d="M6 4 L18 20" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
263
+ export const umlTimeEventIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
264
+ <path d="M6 4 H18 L6 20 H18" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" stroke-linecap="round"/>
265
+ <path d="M6 4 L18 20" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
266
266
  </svg>`;
267
267
  /**
268
268
  * Partition — the swimlane (§15.6.4): two bands with a name strip on top, which
269
269
  * is what a vertical partition set actually looks like. The strip is the half
270
270
  * of the drawing that matters — a lane with no heading is a line.
271
271
  */
272
- export const umlPartitionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
273
- <rect x="3" y="4" width="18" height="16" stroke="currentColor" stroke-width="1.6"/>
274
- <path d="M3 9 H21 M12 4 V20" stroke="currentColor" stroke-width="1.4"/>
272
+ export const umlPartitionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
273
+ <rect x="3" y="4" width="18" height="16" stroke="currentColor" stroke-width="1.6"/>
274
+ <path d="M3 9 H21 M12 4 V20" stroke="currentColor" stroke-width="1.4"/>
275
275
  </svg>`;
276
276
  /* ── Phase 2: what a STATE MACHINE is made of (§14.2.4) ─────────────────── */
277
277
  /**
@@ -279,9 +279,9 @@ export const umlPartitionIcon = svg `<svg width="24" height="24" viewBox="0 0 24
279
279
  * what tells it from the action it shares a silhouette with: an action is one
280
280
  * sentence, a state is a name over the `entry` / `do` / `exit` lines below it.
281
281
  */
282
- export const umlStateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
283
- <rect x="3" y="5" width="18" height="14" rx="4" stroke="currentColor" stroke-width="1.6"/>
284
- <path d="M3 11 H21" stroke="currentColor" stroke-width="1.4"/>
282
+ export const umlStateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
283
+ <rect x="3" y="5" width="18" height="14" rx="4" stroke="currentColor" stroke-width="1.6"/>
284
+ <path d="M3 11 H21" stroke="currentColor" stroke-width="1.4"/>
285
285
  </svg>`;
286
286
  /**
287
287
  * Final state — the bullseye that ends the machine (§14.2.4).
@@ -292,27 +292,27 @@ export const umlStateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24"
292
292
  * is the role and the sheet they are legal on — a final state on an activity
293
293
  * diagram is what the per-frame admissibility lists refuse.
294
294
  */
295
- export const umlFinalStateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
296
- <circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
297
- <circle cx="12" cy="12" r="4.5" fill="currentColor"/>
295
+ export const umlFinalStateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
296
+ <circle cx="12" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
297
+ <circle cx="12" cy="12" r="4.5" fill="currentColor"/>
298
298
  </svg>`;
299
299
  /**
300
300
  * Choice — the diamond a transition branches at (§14.2.4), and the state
301
301
  * machine's twin of the activity decision: the same drawing, on the other
302
302
  * diagram, for the same reason the two finals share theirs.
303
303
  */
304
- export const umlChoiceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
305
- <path d="M9 12 L14 6.5 L19 12 L14 17.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
306
- <path d="M2.5 12 H9" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
304
+ export const umlChoiceIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
305
+ <path d="M9 12 L14 6.5 L19 12 L14 17.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
306
+ <path d="M2.5 12 H9" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
307
307
  </svg>`;
308
308
  /**
309
309
  * Junction — the small filled dot several transitions MERGE at (§14.2.4). The
310
310
  * three incoming stubs are what tells it from the initial node's disc: an
311
311
  * initial has one arrow out and nothing in, a junction is a knot.
312
312
  */
313
- export const umlJunctionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
314
- <circle cx="12" cy="12" r="3.5" fill="currentColor"/>
315
- <path d="M3 6 L9 10.5 M3 18 L9 13.5 M15.5 12 H21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
313
+ export const umlJunctionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
314
+ <circle cx="12" cy="12" r="3.5" fill="currentColor"/>
315
+ <path d="M3 6 L9 10.5 M3 18 L9 13.5 M15.5 12 H21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
316
316
  </svg>`;
317
317
  /** The `H` of a history pseudostate, drawn as strokes rather than set as type. */
318
318
  const historyH = 'M9 8.5 V15.5 M15 8.5 V15.5 M9 12 H15';
@@ -320,111 +320,111 @@ const historyH = 'M9 8.5 V15.5 M15 8.5 V15.5 M9 12 H15';
320
320
  * Shallow history — the `H` in a circle (§14.2.4): re-enter this region at the
321
321
  * sub-state it was last in.
322
322
  */
323
- export const umlShallowHistoryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
324
- <circle cx="12" cy="12" r="8.5" stroke="currentColor" stroke-width="1.6"/>
325
- <path d="${historyH}" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
323
+ export const umlShallowHistoryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
324
+ <circle cx="12" cy="12" r="8.5" stroke="currentColor" stroke-width="1.6"/>
325
+ <path d="${historyH}" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
326
326
  </svg>`;
327
327
  /**
328
328
  * Deep history — the same `H` with the ASTERISK (§14.2.4): restore the whole
329
329
  * nested configuration, not only the top level. One star apart, which is why
330
330
  * the circle is drawn smaller here to make room for it rather than redrawn.
331
331
  */
332
- export const umlDeepHistoryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
333
- <circle cx="10.5" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
334
- <path d="M7.5 8.5 V15.5 M13.5 8.5 V15.5 M7.5 12 H13.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
335
- <path d="M19.5 4.5 V9.5 M17.3 5.8 L21.7 8.2 M21.7 5.8 L17.3 8.2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
332
+ export const umlDeepHistoryIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
333
+ <circle cx="10.5" cy="12" r="8" stroke="currentColor" stroke-width="1.6"/>
334
+ <path d="M7.5 8.5 V15.5 M13.5 8.5 V15.5 M7.5 12 H13.5" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
335
+ <path d="M19.5 4.5 V9.5 M17.3 5.8 L21.7 8.2 M21.7 5.8 L17.3 8.2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
336
336
  </svg>`;
337
337
  /**
338
338
  * Entry point — the hollow circle ON a composite state's border (§14.2.4): the
339
339
  * named way IN. The border is drawn because the mark means nothing off it.
340
340
  */
341
- export const umlEntryPointIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
342
- <path d="M12 3.5 V20.5" stroke="currentColor" stroke-width="1.6"/>
343
- <path d="M2.5 12 H8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
344
- <circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="1.6"/>
341
+ export const umlEntryPointIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
342
+ <path d="M12 3.5 V20.5" stroke="currentColor" stroke-width="1.6"/>
343
+ <path d="M2.5 12 H8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
344
+ <circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="1.6"/>
345
345
  </svg>`;
346
346
  /**
347
347
  * Exit point — the same circle on the same border, CROSSED (§14.2.4): the named
348
348
  * way out.
349
349
  */
350
- export const umlExitPointIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
351
- <path d="M12 3.5 V20.5" stroke="currentColor" stroke-width="1.6"/>
352
- <path d="M16 12 H21.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
353
- <circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="1.6"/>
354
- <path d="M9.5 9.5 L14.5 14.5 M14.5 9.5 L9.5 14.5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
350
+ export const umlExitPointIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
351
+ <path d="M12 3.5 V20.5" stroke="currentColor" stroke-width="1.6"/>
352
+ <path d="M16 12 H21.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
353
+ <circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="1.6"/>
354
+ <path d="M9.5 9.5 L14.5 14.5 M14.5 9.5 L9.5 14.5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
355
355
  </svg>`;
356
356
  /**
357
357
  * Terminate — the bare CROSS (§14.2.4): the machine stops here and nothing
358
358
  * else runs. No circle round it, which is the whole of what tells it from the
359
359
  * flow final and from the exit point.
360
360
  */
361
- export const umlTerminateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
362
- <path d="M5 5 L19 19 M19 5 L5 19" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"/>
361
+ export const umlTerminateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
362
+ <path d="M5 5 L19 19 M19 5 L5 19" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"/>
363
363
  </svg>`;
364
364
  /**
365
365
  * Region — the composite state (§14.2.4): the rounded box with its name band
366
366
  * and a sub-machine inside it. The two little states are the point — a region
367
367
  * is a container, and a glyph of an empty rounded box would be the state's.
368
368
  */
369
- export const umlRegionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
370
- <rect x="2.5" y="4" width="19" height="16" rx="3" stroke="currentColor" stroke-width="1.6"/>
371
- <path d="M2.5 9 H21.5" stroke="currentColor" stroke-width="1.4"/>
372
- <rect x="5.5" y="12" width="5.5" height="4.5" rx="1.5" stroke="currentColor" stroke-width="1.3"/>
373
- <rect x="13" y="12" width="5.5" height="4.5" rx="1.5" stroke="currentColor" stroke-width="1.3"/>
369
+ export const umlRegionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
370
+ <rect x="2.5" y="4" width="19" height="16" rx="3" stroke="currentColor" stroke-width="1.6"/>
371
+ <path d="M2.5 9 H21.5" stroke="currentColor" stroke-width="1.4"/>
372
+ <rect x="5.5" y="12" width="5.5" height="4.5" rx="1.5" stroke="currentColor" stroke-width="1.3"/>
373
+ <rect x="13" y="12" width="5.5" height="4.5" rx="1.5" stroke="currentColor" stroke-width="1.3"/>
374
374
  </svg>`;
375
375
  /* ── The relationships: each glyph IS the line the tool draws ───────────── */
376
376
  /** Association — a plain solid line, undirected (§11.5.4). */
377
- export const umlAssociationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
378
- <path d="M3 12 H21" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
377
+ export const umlAssociationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
378
+ <path d="M3 12 H21" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
379
379
  </svg>`;
380
380
  /** Aggregation — the HOLLOW diamond at the whole's end (§11.5.4). */
381
- export const umlAggregationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
382
- <path d="M9 12 H21" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
383
- <path d="M3 12 L6 9 L9 12 L6 15 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
381
+ export const umlAggregationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
382
+ <path d="M9 12 H21" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
383
+ <path d="M3 12 L6 9 L9 12 L6 15 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
384
384
  </svg>`;
385
385
  /** Composition — the same diamond, FILLED (§11.5.4). */
386
- export const umlCompositionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
387
- <path d="M9 12 H21" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
388
- <path d="M3 12 L6 9 L9 12 L6 15 Z" fill="currentColor" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
386
+ export const umlCompositionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
387
+ <path d="M9 12 H21" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
388
+ <path d="M3 12 L6 9 L9 12 L6 15 Z" fill="currentColor" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
389
389
  </svg>`;
390
390
  /** Generalization — a solid line with a hollow triangle on the general end. */
391
- export const umlGeneralizationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
392
- <path d="M3 12 H15" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
393
- <path d="M15 7.5 L21 12 L15 16.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
391
+ export const umlGeneralizationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
392
+ <path d="M3 12 H15" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
393
+ <path d="M15 7.5 L21 12 L15 16.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
394
394
  </svg>`;
395
395
  /** Realization — the same hollow triangle, on a DASHED line (§10.4.2.1). */
396
- export const umlRealizationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
397
- <path d="M3 12 H15" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
398
- <path d="M15 7.5 L21 12 L15 16.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
396
+ export const umlRealizationIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
397
+ <path d="M3 12 H15" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
398
+ <path d="M15 7.5 L21 12 L15 16.5 Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
399
399
  </svg>`;
400
400
  /** Dependency — a dashed line with an open arrowhead (§7.8.4). */
401
- export const umlDependencyIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
402
- <path d="M3 12 H18" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
403
- <path d="M14.5 8.4 L21 12 L14.5 15.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
401
+ export const umlDependencyIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
402
+ <path d="M3 12 H18" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
403
+ <path d="M14.5 8.4 L21 12 L14.5 15.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
404
404
  </svg>`;
405
405
  /**
406
406
  * Anchor — the DASHED line with no head at all, which is how a note is tied to
407
407
  * what it comments on (§7.5.4). The only relationship of this pack that says
408
408
  * nothing about direction, and the glyph says so by carrying no arrow.
409
409
  */
410
- export const umlAnchorIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
411
- <path d="M3 12 H21" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
410
+ export const umlAnchorIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
411
+ <path d="M3 12 H21" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
412
412
  </svg>`;
413
413
  /**
414
414
  * Include — a dependency whose keyword is `«include»`, drawn with the chevrons
415
415
  * over the line so the two use-case relationships are told apart at a glance
416
416
  * rather than by their tooltip (§18.1.4).
417
417
  */
418
- export const umlIncludeIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
419
- <path d="M3 16 H18" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
420
- <path d="M14.5 12.4 L21 16 L14.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
421
- <path d="M8 4 L5.5 6.8 L8 9.6 M14 4 L16.5 6.8 L14 9.6" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
418
+ export const umlIncludeIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
419
+ <path d="M3 16 H18" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
420
+ <path d="M14.5 12.4 L21 16 L14.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
421
+ <path d="M8 4 L5.5 6.8 L8 9.6 M14 4 L16.5 6.8 L14 9.6" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
422
422
  </svg>`;
423
423
  /** Extend — the same dashed arrow, with the chevrons pointing outward. */
424
- export const umlExtendIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
425
- <path d="M3 16 H18" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
426
- <path d="M14.5 12.4 L21 16 L14.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
427
- <path d="M5.5 4 L8 6.8 L5.5 9.6 M16.5 4 L14 6.8 L16.5 9.6" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
424
+ export const umlExtendIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
425
+ <path d="M3 16 H18" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
426
+ <path d="M14.5 12.4 L21 16 L14.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
427
+ <path d="M5.5 4 L8 6.8 L5.5 9.6 M16.5 4 L14 6.8 L16.5 9.6" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
428
428
  </svg>`;
429
429
  /**
430
430
  * Deploy — the dashed dependency arrow of §19.2.4, pointed at the NODE it lands
@@ -432,36 +432,36 @@ export const umlExtendIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24
432
432
  * `«manifest»` are the same line, and the only thing that can tell them apart in
433
433
  * a menu row is what sits at the far end.
434
434
  */
435
- export const umlDeployIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
436
- <path d="M2 16 H16" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
437
- <path d="M12.5 12.4 L19 16 L12.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
438
- <rect x="13" y="2.5" width="8" height="7" rx="0.8" stroke="currentColor" stroke-width="1.4"/>
435
+ export const umlDeployIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
436
+ <path d="M2 16 H16" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
437
+ <path d="M12.5 12.4 L19 16 L12.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
438
+ <rect x="13" y="2.5" width="8" height="7" rx="0.8" stroke="currentColor" stroke-width="1.4"/>
439
439
  </svg>`;
440
440
  /** Manifest — the same arrow, landing on the artifact's own document glyph. */
441
- export const umlManifestIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
442
- <path d="M2 16 H16" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
443
- <path d="M12.5 12.4 L19 16 L12.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
444
- <path d="M13.5 2.5 H18 L20.5 5 V10 H13.5 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
445
- <path d="M18 2.5 V5 H20.5" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round"/>
441
+ export const umlManifestIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
442
+ <path d="M2 16 H16" stroke="currentColor" stroke-width="1.8" stroke-dasharray="3 2.6" stroke-linecap="round"/>
443
+ <path d="M12.5 12.4 L19 16 L12.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
444
+ <path d="M13.5 2.5 H18 L20.5 5 V10 H13.5 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
445
+ <path d="M18 2.5 V5 H20.5" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round"/>
446
446
  </svg>`;
447
447
  /**
448
448
  * Communication path — a plain solid line between two NODES (§19.4.4). The two
449
449
  * boxes are what separates it from the association it is drawn exactly like: a
450
450
  * network link joins machines, and it claims no direction at either end.
451
451
  */
452
- export const umlCommunicationPathIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
453
- <path d="M6 12 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
454
- <rect x="1.5" y="8.5" width="5" height="7" rx="0.8" stroke="currentColor" stroke-width="1.4"/>
455
- <rect x="17.5" y="8.5" width="5" height="7" rx="0.8" stroke="currentColor" stroke-width="1.4"/>
452
+ export const umlCommunicationPathIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
453
+ <path d="M6 12 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
454
+ <rect x="1.5" y="8.5" width="5" height="7" rx="0.8" stroke="currentColor" stroke-width="1.4"/>
455
+ <rect x="17.5" y="8.5" width="5" height="7" rx="0.8" stroke="currentColor" stroke-width="1.4"/>
456
456
  </svg>`;
457
457
  /**
458
458
  * Control flow — the SOLID line with an open arrowhead (§15.2.4). The look no
459
459
  * structural relationship wears: a behaviour diagram states an order and
460
460
  * therefore always points.
461
461
  */
462
- export const umlControlFlowIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
463
- <path d="M3 12 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
464
- <path d="M14.5 8.4 L21 12 L14.5 15.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
462
+ export const umlControlFlowIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
463
+ <path d="M3 12 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
464
+ <path d="M14.5 8.4 L21 12 L14.5 15.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
465
465
  </svg>`;
466
466
  /**
467
467
  * Object flow — the same arrow, with the DATA on it. §15.2.4 draws no line of
@@ -469,10 +469,10 @@ export const umlControlFlowIcon = svg `<svg width="24" height="24" viewBox="0 0
469
469
  * so the glyph says that rather than inventing a dash: the little rectangle is
470
470
  * the object node the line passes through.
471
471
  */
472
- export const umlObjectFlowIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
473
- <path d="M2 12 H8 M14 12 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
474
- <path d="M14.5 8.4 L21 12 L14.5 15.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
475
- <rect x="8" y="9" width="6" height="6" stroke="currentColor" stroke-width="1.4"/>
472
+ export const umlObjectFlowIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
473
+ <path d="M2 12 H8 M14 12 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
474
+ <path d="M14.5 8.4 L21 12 L14.5 15.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
475
+ <rect x="8" y="9" width="6" height="6" stroke="currentColor" stroke-width="1.4"/>
476
476
  </svg>`;
477
477
  /**
478
478
  * Transition — the same arrow again (§14.2.4.8), carrying its LABEL: the
@@ -480,10 +480,10 @@ export const umlObjectFlowIcon = svg `<svg width="24" height="24" viewBox="0 0 2
480
480
  * machine's arrow says, and the only thing that separates this glyph from the
481
481
  * control flow above it.
482
482
  */
483
- export const umlTransitionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
484
- <path d="M3 16 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
485
- <path d="M14.5 12.4 L21 16 L14.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
486
- <path d="M5 7 H16 M5 10.5 H12" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
483
+ export const umlTransitionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
484
+ <path d="M3 16 H18" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
485
+ <path d="M14.5 12.4 L21 16 L14.5 19.6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
486
+ <path d="M5 7 H16 M5 10.5 H12" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
487
487
  </svg>`;
488
488
  /* ── Phase 3: what a SEQUENCE diagram is made of (§17.2.4, §17.4.4) ────── */
489
489
  /**
@@ -492,27 +492,27 @@ export const umlTransitionIcon = svg `<svg width="24" height="24" viewBox="0 0 2
492
492
  * The dashes are the half that matters: a head on its own is a class box, and
493
493
  * what makes a lifeline a lifeline is that time runs down the line under it.
494
494
  */
495
- export const umlLifelineIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
496
- <rect x="5" y="3.5" width="14" height="7" stroke="currentColor" stroke-width="1.6"/>
497
- <path d="M12 10.5 V21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="2.4 2.4"/>
495
+ export const umlLifelineIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
496
+ <rect x="5" y="3.5" width="14" height="7" stroke="currentColor" stroke-width="1.6"/>
497
+ <path d="M12 10.5 V21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="2.4 2.4"/>
498
498
  </svg>`;
499
499
  /**
500
500
  * Execution specification — the thin BAR sat on a spine (§17.2.4): the stretch
501
501
  * of the diagram during which this participant is doing something. Drawn ON the
502
502
  * dashes, because a bar floating beside a lifeline means nothing at all.
503
503
  */
504
- export const umlExecutionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
505
- <path d="M12 3 V21" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-dasharray="2.4 2.4"/>
506
- <rect x="9.5" y="7" width="5" height="10" fill="currentColor" fill-opacity="0.25" stroke="currentColor" stroke-width="1.5"/>
504
+ export const umlExecutionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
505
+ <path d="M12 3 V21" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-dasharray="2.4 2.4"/>
506
+ <rect x="9.5" y="7" width="5" height="10" fill="currentColor" fill-opacity="0.25" stroke="currentColor" stroke-width="1.5"/>
507
507
  </svg>`;
508
508
  /**
509
509
  * Destruction occurrence — the CROSS that ends a lifeline (§17.2.4). The spine
510
510
  * stops at it, which is the whole statement: nothing happens to this
511
511
  * participant afterwards.
512
512
  */
513
- export const umlDestructionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
514
- <path d="M12 3 V13" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-dasharray="2.4 2.4"/>
515
- <path d="M7 13 L17 21 M17 13 L7 21" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
513
+ export const umlDestructionIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
514
+ <path d="M12 3 V13" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-dasharray="2.4 2.4"/>
515
+ <path d="M7 13 L17 21 M17 13 L7 21" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
516
516
  </svg>`;
517
517
  /**
518
518
  * Combined fragment — the rectangle with the PENTAGON tag in its corner
@@ -521,10 +521,10 @@ export const umlDestructionIcon = svg `<svg width="24" height="24" viewBox="0 0
521
521
  * The cut corner and the dashed line are the two things the notation draws and
522
522
  * nothing else does: a plain rectangle is a subject, a region or a partition.
523
523
  */
524
- export const umlFragmentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
525
- <rect x="3" y="4" width="18" height="16" stroke="currentColor" stroke-width="1.6"/>
526
- <path d="M3 4 H10 L12 6.5 V9 H3 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
527
- <path d="M3 14.5 H21" stroke="currentColor" stroke-width="1.3" stroke-dasharray="2.5 2.5"/>
524
+ export const umlFragmentIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
525
+ <rect x="3" y="4" width="18" height="16" stroke="currentColor" stroke-width="1.6"/>
526
+ <path d="M3 4 H10 L12 6.5 V9 H3 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
527
+ <path d="M3 14.5 H21" stroke="currentColor" stroke-width="1.3" stroke-dasharray="2.5 2.5"/>
528
528
  </svg>`;
529
529
  /**
530
530
  * Interaction use — the same frame with `ref` in its tag (§17.7.4), drawn here
@@ -533,54 +533,54 @@ export const umlFragmentIcon = svg `<svg width="24" height="24" viewBox="0 0 24
533
533
  * it. No dashed rule, which is the one thing that tells it from the fragment
534
534
  * above: a `ref` has no operands to separate.
535
535
  */
536
- export const umlInteractionUseIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
537
- <rect x="3" y="4" width="18" height="16" stroke="currentColor" stroke-width="1.6"/>
538
- <path d="M3 4 H10 L12 6.5 V9 H3 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
539
- <path d="M8.5 16 L16 12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
540
- <path d="M12.5 12 L16.5 12.4 L16 16.2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
536
+ export const umlInteractionUseIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
537
+ <rect x="3" y="4" width="18" height="16" stroke="currentColor" stroke-width="1.6"/>
538
+ <path d="M3 4 H10 L12 6.5 V9 H3 Z" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
539
+ <path d="M8.5 16 L16 12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
540
+ <path d="M12.5 12 L16.5 12.4 L16 16.2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
541
541
  </svg>`;
542
542
  /**
543
543
  * Synchronous message — a solid line with a FILLED arrowhead (§17.4.4): the
544
544
  * caller waits, and the black triangle is the whole of what says so.
545
545
  */
546
- export const umlMessageSyncIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
547
- <path d="M3 12 H16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
548
- <path d="M15 8 L21.5 12 L15 16 Z" fill="currentColor" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
546
+ export const umlMessageSyncIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
547
+ <path d="M3 12 H16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
548
+ <path d="M15 8 L21.5 12 L15 16 Z" fill="currentColor" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/>
549
549
  </svg>`;
550
550
  /**
551
551
  * Asynchronous message — the same solid line with an OPEN stick arrowhead: the
552
552
  * caller does not wait. The one pair in this pack where getting the head's fill
553
553
  * backwards inverts the meaning of every call on the sheet.
554
554
  */
555
- export const umlMessageAsyncIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
556
- <path d="M3 12 H20" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
557
- <path d="M15 7.8 L21 12 L15 16.2" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
555
+ export const umlMessageAsyncIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
556
+ <path d="M3 12 H20" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
557
+ <path d="M15 7.8 L21 12 L15 16.2" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
558
558
  </svg>`;
559
559
  /** Reply — the open head on a DASHED line, travelling back (§17.4.4). */
560
- export const umlMessageReplyIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
561
- <path d="M21 12 H4" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-dasharray="3 2.6"/>
562
- <path d="M9 7.8 L3 12 L9 16.2" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
560
+ export const umlMessageReplyIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
561
+ <path d="M21 12 H4" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-dasharray="3 2.6"/>
562
+ <path d="M9 7.8 L3 12 L9 16.2" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
563
563
  </svg>`;
564
564
  /**
565
565
  * Create message — the dashed arrow landing on a lifeline's HEAD (§17.4.4).
566
566
  * The box at the end is the point: a create message is the one message that
567
567
  * does not arrive on a spine, because the spine does not exist until it does.
568
568
  */
569
- export const umlMessageCreateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
570
- <path d="M2 10 H12" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-dasharray="3 2.6"/>
571
- <path d="M9.5 6.6 L13.5 10 L9.5 13.4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
572
- <rect x="14" y="6.5" width="8" height="7" stroke="currentColor" stroke-width="1.5"/>
573
- <path d="M18 13.5 V21" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-dasharray="2.2 2.2"/>
569
+ export const umlMessageCreateIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
570
+ <path d="M2 10 H12" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-dasharray="3 2.6"/>
571
+ <path d="M9.5 6.6 L13.5 10 L9.5 13.4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
572
+ <rect x="14" y="6.5" width="8" height="7" stroke="currentColor" stroke-width="1.5"/>
573
+ <path d="M18 13.5 V21" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-dasharray="2.2 2.2"/>
574
574
  </svg>`;
575
575
  /**
576
576
  * Delete message — the call that ends at the X (§17.4.4). The solid line with
577
577
  * the filled head is the ordinary call; the cross is what makes it a deletion,
578
578
  * and it is drawn here because the LINE alone cannot say so.
579
579
  */
580
- export const umlMessageDeleteIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
581
- <path d="M2 12 H11" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/>
582
- <path d="M10 8.8 L14 12 L10 15.2 Z" fill="currentColor" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/>
583
- <path d="M15.5 8 L22 16 M22 8 L15.5 16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
580
+ export const umlMessageDeleteIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
581
+ <path d="M2 12 H11" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/>
582
+ <path d="M10 8.8 L14 12 L10 15.2 Z" fill="currentColor" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/>
583
+ <path d="M15.5 8 L22 16 M22 8 L15.5 16" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
584
584
  </svg>`;
585
585
  /* ── The two exports ───────────────────────────────────────────────────── */
586
586
  /**
@@ -589,16 +589,16 @@ export const umlMessageDeleteIcon = svg `<svg width="24" height="24" viewBox="0
589
589
  * private module: a cross-framework import for one path would tie this pack's
590
590
  * build to theirs, and the three are meant to ship separately.
591
591
  */
592
- export const umlExportPlantumlIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
593
- <path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
594
- <path d="M13.5 3.5 18.5 8.5V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
595
- <path d="M16 20.5v-6M13.5 18l2.5 2.5 2.5-2.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
592
+ export const umlExportPlantumlIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
593
+ <path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
594
+ <path d="M13.5 3.5 18.5 8.5V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
595
+ <path d="M16 20.5v-6M13.5 18l2.5 2.5 2.5-2.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
596
596
  </svg>`;
597
597
  /** Export as XMI — the same document, marked as the angle-bracketed one. */
598
- export const umlExportXmiIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
599
- <path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
600
- <path d="M13.5 3.5 18.5 8.5V11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
601
- <path d="M14.5 14.5 12 17.5 14.5 20.5M18.5 14.5 21 17.5 18.5 20.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
598
+ export const umlExportXmiIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
599
+ <path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
600
+ <path d="M13.5 3.5 18.5 8.5V11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
601
+ <path d="M14.5 14.5 12 17.5 14.5 20.5M18.5 14.5 21 17.5 18.5 20.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
602
602
  </svg>`;
603
603
  /**
604
604
  * The three IMPORTS — the same page glyph as the exports beside them, with the
@@ -611,23 +611,23 @@ export const umlExportXmiIcon = svg `<svg width="24" height="24" viewBox="0 0 24
611
611
  * angle brackets for XMI, and the two connected boxes for draw.io, which is
612
612
  * the only one of the three whose file is a DRAWING.
613
613
  */
614
- export const umlImportPlantumlIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
615
- <path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
616
- <path d="M13.5 3.5 18.5 8.5V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
617
- <path d="M16 14.5v6M13.5 17l2.5-2.5 2.5 2.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
614
+ export const umlImportPlantumlIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
615
+ <path d="M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
616
+ <path d="M13.5 3.5 18.5 8.5V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
617
+ <path d="M16 14.5v6M13.5 17l2.5-2.5 2.5 2.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
618
618
  </svg>`;
619
619
  /** Import XMI — the page arriving, marked as the angle-bracketed document. */
620
- export const umlImportXmiIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
621
- <path d="M12.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
622
- <path d="M12.5 3.5 17.5 8.5V11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
623
- <path d="M13.5 14.5 11 17.5 13.5 20.5M17.5 14.5 20 17.5 17.5 20.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
620
+ export const umlImportXmiIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
621
+ <path d="M12.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
622
+ <path d="M12.5 3.5 17.5 8.5V11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
623
+ <path d="M13.5 14.5 11 17.5 13.5 20.5M17.5 14.5 20 17.5 17.5 20.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
624
624
  </svg>`;
625
625
  /** Import draw.io — two connected boxes, which is what the file actually holds. */
626
- export const umlImportDrawioIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
627
- <rect x="3" y="4" width="8" height="5.5" rx="1" stroke="currentColor" stroke-width="1.5"/>
628
- <rect x="12.5" y="12" width="8" height="5.5" rx="1" stroke="currentColor" stroke-width="1.5"/>
629
- <path d="M7 9.5v3.25h9.5v-0.75" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
630
- <path d="M6 15v5.5M3.5 18 6 15.5 8.5 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
626
+ export const umlImportDrawioIcon = svg `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
627
+ <rect x="3" y="4" width="8" height="5.5" rx="1" stroke="currentColor" stroke-width="1.5"/>
628
+ <rect x="12.5" y="12" width="8" height="5.5" rx="1" stroke="currentColor" stroke-width="1.5"/>
629
+ <path d="M7 9.5v3.25h9.5v-0.75" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
630
+ <path d="M6 15v5.5M3.5 18 6 15.5 8.5 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
631
631
  </svg>`;
632
632
  /**
633
633
  * Every command glyph of the TOOLBOX, keyed by its `iconKey`.