semantic-atlas 2.3.0 → 2.3.1
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/dist/rendering/flow-projector.d.ts.map +1 -1
- package/dist/rendering/flow-projector.js +61 -77
- package/dist/rendering/flow-projector.js.map +1 -1
- package/dist/rendering/map-camera.d.ts +1 -0
- package/dist/rendering/map-camera.d.ts.map +1 -1
- package/dist/rendering/map-camera.js +8 -1
- package/dist/rendering/map-camera.js.map +1 -1
- package/dist/rendering/map-projector.d.ts.map +1 -1
- package/dist/rendering/map-projector.js +45 -72
- package/dist/rendering/map-projector.js.map +1 -1
- package/dist/rendering/viewer-browser.d.ts.map +1 -1
- package/dist/rendering/viewer-browser.js +63 -5
- package/dist/rendering/viewer-browser.js.map +1 -1
- package/dist/rendering/viewer-diagram.d.ts +8 -0
- package/dist/rendering/viewer-diagram.d.ts.map +1 -0
- package/dist/rendering/viewer-diagram.js +99 -0
- package/dist/rendering/viewer-diagram.js.map +1 -0
- package/dist/rendering/viewer-layout.d.ts +40 -0
- package/dist/rendering/viewer-layout.d.ts.map +1 -0
- package/dist/rendering/viewer-layout.js +79 -0
- package/dist/rendering/viewer-layout.js.map +1 -0
- package/dist/rendering/viewer-page.d.ts +7 -2
- package/dist/rendering/viewer-page.d.ts.map +1 -1
- package/dist/rendering/viewer-page.js +65 -17
- package/dist/rendering/viewer-page.js.map +1 -1
- package/docs/architecture.md +24 -5
- package/docs/map-format.md +6 -0
- package/docs/product-contract.md +5 -0
- package/package.json +1 -1
|
@@ -15,8 +15,8 @@ export function toViewerProjectPayload(project) {
|
|
|
15
15
|
project: {
|
|
16
16
|
id: project.id,
|
|
17
17
|
name: project.name,
|
|
18
|
-
views: project.views.map(({ svg: _svg, ...view }) => view),
|
|
19
|
-
flows: project.flows.map(({ svg: _svg, ...flow }) => flow),
|
|
18
|
+
views: project.views.map(({ svg: _svg, textLayer: _textLayer, ...view }) => view),
|
|
19
|
+
flows: project.flows.map(({ svg: _svg, textLayer: _textLayer, ...flow }) => flow),
|
|
20
20
|
},
|
|
21
21
|
markup: renderProjectMarkup(project),
|
|
22
22
|
};
|
|
@@ -124,10 +124,12 @@ function renderProjectMarkup(project) {
|
|
|
124
124
|
...project.views.map((view) => `
|
|
125
125
|
<div class="project-view" data-project-view data-view-type="relationships" data-project-id="${escapeHtml(project.id)}" data-map-view="${escapeHtml(view.id)}" hidden>
|
|
126
126
|
${view.svg}
|
|
127
|
+
<div class="diagram-text-layer">${view.textLayer}</div>
|
|
127
128
|
</div>`),
|
|
128
129
|
...project.flows.map((flow) => `
|
|
129
130
|
<div class="project-view" data-project-view data-view-type="flows" data-project-id="${escapeHtml(project.id)}" data-flow-view="${escapeHtml(flow.id)}" hidden>
|
|
130
131
|
${flow.svg}
|
|
132
|
+
<div class="diagram-text-layer">${flow.textLayer}</div>
|
|
131
133
|
</div>`),
|
|
132
134
|
].join("");
|
|
133
135
|
}
|
|
@@ -215,7 +217,7 @@ function viewerStyles() {
|
|
|
215
217
|
display: flex;
|
|
216
218
|
align-items: center;
|
|
217
219
|
}
|
|
218
|
-
.viewer-toolbar__selectors { gap: 10px; min-width: 0; }
|
|
220
|
+
.viewer-toolbar__selectors { gap: 10px; min-width: 0; flex-wrap: wrap; }
|
|
219
221
|
.viewer-toolbar__meta { justify-content: flex-end; gap: 12px; white-space: nowrap; }
|
|
220
222
|
.field { display: flex; align-items: center; gap: 7px; min-width: 0; }
|
|
221
223
|
.field[hidden] { display: none; }
|
|
@@ -241,6 +243,7 @@ function viewerStyles() {
|
|
|
241
243
|
select:disabled { color: var(--muted); opacity: 0.72; }
|
|
242
244
|
.view-switch {
|
|
243
245
|
display: flex;
|
|
246
|
+
flex-shrink: 0;
|
|
244
247
|
overflow: hidden;
|
|
245
248
|
border: 1px solid rgba(56, 89, 103, 0.28);
|
|
246
249
|
border-radius: 7px;
|
|
@@ -327,8 +330,6 @@ function viewerStyles() {
|
|
|
327
330
|
overflow: hidden;
|
|
328
331
|
cursor: grab;
|
|
329
332
|
touch-action: none;
|
|
330
|
-
user-select: none;
|
|
331
|
-
-webkit-user-select: none;
|
|
332
333
|
}
|
|
333
334
|
.map-viewport[data-dragging="true"] { cursor: grabbing; }
|
|
334
335
|
.project-view-host { position: absolute; inset: 0; }
|
|
@@ -373,14 +374,62 @@ function viewerStyles() {
|
|
|
373
374
|
}
|
|
374
375
|
.viewer-status p:last-child { margin: 0; color: #405052; line-height: 1.65; }
|
|
375
376
|
.map-svg { display: block; width: 100%; height: 100%; }
|
|
377
|
+
.diagram-text-layer {
|
|
378
|
+
position: absolute;
|
|
379
|
+
top: 0;
|
|
380
|
+
left: 0;
|
|
381
|
+
transform-origin: 0 0;
|
|
382
|
+
pointer-events: none;
|
|
383
|
+
}
|
|
384
|
+
.diagram-card-text, .diagram-label {
|
|
385
|
+
position: absolute;
|
|
386
|
+
pointer-events: auto;
|
|
387
|
+
user-select: text;
|
|
388
|
+
-webkit-user-select: text;
|
|
389
|
+
cursor: text;
|
|
390
|
+
overflow-wrap: anywhere;
|
|
391
|
+
}
|
|
392
|
+
.diagram-card-text {
|
|
393
|
+
padding: 18px;
|
|
394
|
+
height: auto;
|
|
395
|
+
}
|
|
396
|
+
.diagram-card-text p, .diagram-card-text h3 { margin: 0; }
|
|
397
|
+
.diagram-card-text .node-card__kind, .diagram-card-text .flow-step__kind {
|
|
398
|
+
margin-bottom: 8px;
|
|
399
|
+
color: var(--muted);
|
|
400
|
+
text-transform: uppercase;
|
|
401
|
+
}
|
|
402
|
+
.diagram-card-text .node-card__title, .diagram-card-text .flow-step__title {
|
|
403
|
+
color: var(--ink);
|
|
404
|
+
line-height: 22px;
|
|
405
|
+
margin-bottom: 12px;
|
|
406
|
+
}
|
|
407
|
+
.diagram-card-text .node-card__summary, .diagram-card-text .flow-step__summary {
|
|
408
|
+
color: #405052;
|
|
409
|
+
line-height: 17px;
|
|
410
|
+
}
|
|
411
|
+
.diagram-card-text--flow { text-align: center; }
|
|
412
|
+
.diagram-label {
|
|
413
|
+
transform: translate(-50%, -50%);
|
|
414
|
+
width: max-content;
|
|
415
|
+
max-width: 360px;
|
|
416
|
+
padding: 4px 10px;
|
|
417
|
+
border: 1px solid var(--relation);
|
|
418
|
+
border-radius: 12px;
|
|
419
|
+
background: var(--surface-strong);
|
|
420
|
+
color: var(--ink);
|
|
421
|
+
font-size: 11px;
|
|
422
|
+
font-weight: 800;
|
|
423
|
+
line-height: 16px;
|
|
424
|
+
text-align: center;
|
|
425
|
+
text-transform: uppercase;
|
|
426
|
+
}
|
|
427
|
+
.edge__label--containment { border-color: var(--containment); }
|
|
376
428
|
.grid-line { stroke: #d9ddd3; stroke-width: 1; }
|
|
377
429
|
.edge__path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
|
|
378
430
|
.edge--containment .edge__path { stroke: var(--containment); stroke-width: 2.2; stroke-dasharray: 9 7; }
|
|
379
431
|
.edge--directed-relation .edge__path { stroke: var(--relation); stroke-width: 2.4; }
|
|
380
|
-
.edge__label
|
|
381
|
-
.edge--containment .edge__label-surface { stroke: var(--containment); }
|
|
382
|
-
.edge--directed-relation .edge__label-surface { stroke: var(--relation); }
|
|
383
|
-
.edge__label { fill: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
|
|
432
|
+
.edge__label { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
|
|
384
433
|
.node-card { cursor: pointer; }
|
|
385
434
|
.node-card:focus { outline: none; }
|
|
386
435
|
.node-card__surface {
|
|
@@ -399,9 +448,9 @@ function viewerStyles() {
|
|
|
399
448
|
.node-card__kind-rule { fill: var(--accent); }
|
|
400
449
|
.node-card--boundary .node-card__surface { fill: #f1f3ed; stroke-dasharray: 6 5; }
|
|
401
450
|
.node-card--boundary .node-card__kind-rule { fill: var(--containment); }
|
|
402
|
-
.node-card__kind {
|
|
403
|
-
.node-card__title {
|
|
404
|
-
.node-card__summary {
|
|
451
|
+
.node-card__kind { font-size: 10px; font-weight: 850; letter-spacing: 0.12em; }
|
|
452
|
+
.node-card__title { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 650; }
|
|
453
|
+
.node-card__summary { font-size: 13px; }
|
|
405
454
|
.flow-transition__path {
|
|
406
455
|
fill: none;
|
|
407
456
|
stroke: var(--relation);
|
|
@@ -409,15 +458,14 @@ function viewerStyles() {
|
|
|
409
458
|
stroke-linecap: round;
|
|
410
459
|
stroke-linejoin: round;
|
|
411
460
|
}
|
|
412
|
-
.flow-transition__label
|
|
413
|
-
.flow-transition__label { fill: var(--ink); font-size: 11px; font-weight: 850; letter-spacing: 0.05em; }
|
|
461
|
+
.flow-transition__label { font-size: 11px; font-weight: 850; letter-spacing: 0.05em; }
|
|
414
462
|
.flow-step__surface { fill: var(--surface-strong); stroke: var(--line); stroke-width: 2; }
|
|
415
463
|
.flow-step--action .flow-step__surface { stroke: var(--accent); }
|
|
416
464
|
.flow-step--decision .flow-step__surface { fill: #fff8e8; stroke: var(--relation); stroke-width: 2.5; }
|
|
417
465
|
.flow-step--outcome .flow-step__surface { fill: #eef3ee; stroke: var(--containment); }
|
|
418
|
-
.flow-step__kind {
|
|
419
|
-
.flow-step__title {
|
|
420
|
-
.flow-step__summary {
|
|
466
|
+
.flow-step__kind { font-size: 10px; font-weight: 850; letter-spacing: 0.12em; }
|
|
467
|
+
.flow-step__title { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 650; }
|
|
468
|
+
.flow-step__summary { font-size: 13px; }
|
|
421
469
|
.node-details {
|
|
422
470
|
z-index: 2;
|
|
423
471
|
grid-row: 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewer-page.js","sourceRoot":"","sources":["../../src/rendering/viewer-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"viewer-page.js","sourceRoot":"","sources":["../../src/r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ED,SAAS,YAAY;IACnB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsdN,CAAC;AACJ,CAAC"}
|
package/docs/architecture.md
CHANGED
|
@@ -136,26 +136,45 @@ identities for repeatable layout and inspection.
|
|
|
136
136
|
|
|
137
137
|
### FlowProjector
|
|
138
138
|
|
|
139
|
-
Builds one deterministic top-to-bottom
|
|
139
|
+
Builds one deterministic top-to-bottom diagram per business flow. Dagre owns step
|
|
140
140
|
placement and transition routing; action, decision, and outcome steps preserve
|
|
141
141
|
distinct visual semantics, while labeled decision branches remain visible on
|
|
142
142
|
their transitions. The projector reads normalized flow meaning and owns no
|
|
143
143
|
query or maintenance decisions.
|
|
144
144
|
|
|
145
|
+
### Diagram Layout
|
|
146
|
+
|
|
147
|
+
Relationship and flow projectors share `layoutDiagram` for both initial
|
|
148
|
+
server-side size estimates and browser-measured text dimensions. SVG owns
|
|
149
|
+
shapes and routed lines; an ordinary HTML sibling layer owns complete names,
|
|
150
|
+
summaries, kinds, and branch labels so page translators can read full sentences.
|
|
151
|
+
The same layout positions both layers and connects decision edges to the actual
|
|
152
|
+
diamond boundary.
|
|
153
|
+
|
|
154
|
+
The browser observes card and label sizes. Appending a translation, changing
|
|
155
|
+
fonts, or restoring original text reflows the affected diagram without replacing
|
|
156
|
+
its text DOM. Nodes grow with their content and Dagre reserves the measured
|
|
157
|
+
label space. Translation remains browser presentation rather than a second
|
|
158
|
+
tracked business-map copy.
|
|
159
|
+
|
|
145
160
|
### ViewerPage
|
|
146
161
|
|
|
147
162
|
Owns the compact human inspection surface shared by static export and Web. It
|
|
148
163
|
combines project selection, relationship/flow switching, business-domain or
|
|
149
164
|
flow selection, map statistics, a restrained legend, pan, zoom, and fit-to-view
|
|
150
|
-
around
|
|
151
|
-
|
|
165
|
+
around shared SVG geometry and selectable HTML text. Dragging text uses native
|
|
166
|
+
selection and copying; dragging diagram space pans the map. Cards render stable
|
|
167
|
+
business meaning only. Clicking a node or activating it with the keyboard opens its navigation anchors and
|
|
152
168
|
derived related-flow links in an overlaid desktop side panel or narrow-screen
|
|
153
169
|
bottom panel. Selecting a related flow switches to its projected path. Camera
|
|
154
170
|
coordinates use the SVG `xMidYMid meet` scale and letterbox offsets for both
|
|
155
|
-
pointer zoom
|
|
171
|
+
pointer zoom, pan, and HTML placement, including viewport resizing. A fitted
|
|
172
|
+
camera follows content reflow; an explicitly zoomed or panned camera keeps its
|
|
173
|
+
current view. Its browser interaction state is disposable and never
|
|
156
174
|
enters tracked map data.
|
|
157
175
|
|
|
158
|
-
Static export embeds its complete project model
|
|
176
|
+
Static export embeds its complete project model, diagram layers, and the bundled
|
|
177
|
+
Dagre browser runtime, with no network dependency. Web mode initially
|
|
159
178
|
receives only project IDs and display names, then replaces its single current
|
|
160
179
|
model and SVG set when a selection loads. Empty, loading, ready, and unavailable
|
|
161
180
|
states are browser-session state. A monotonically increasing request generation
|
package/docs/map-format.md
CHANGED
|
@@ -71,6 +71,12 @@ IDs use lowercase dot-separated business vocabulary, for example
|
|
|
71
71
|
`commerce.orders.place-order`. They remain stable when implementation paths or
|
|
72
72
|
semantic parents change. Containment lives in explicit `part_of` relations.
|
|
73
73
|
|
|
74
|
+
Human-facing names, summaries, and branch labels accept Chinese or English.
|
|
75
|
+
Use the author's working language for the single retained description. A Chinese
|
|
76
|
+
node name can keep an English stable ID and English search terms in `aliases`;
|
|
77
|
+
both Chinese names and English aliases participate in the lookup rules below.
|
|
78
|
+
Browser translation changes presentation only and does not write another map.
|
|
79
|
+
|
|
74
80
|
Supported node kinds are:
|
|
75
81
|
|
|
76
82
|
```text
|
package/docs/product-contract.md
CHANGED
|
@@ -79,6 +79,11 @@ Project and business-domain selection, relationship and flow views, pan, zoom,
|
|
|
79
79
|
fit-to-view, navigation details, and related-flow links remain read-only. The
|
|
80
80
|
visual surface does not become a second authoring or registration format.
|
|
81
81
|
|
|
82
|
+
Diagram text is selectable ordinary HTML that supports whole-page translation.
|
|
83
|
+
When a translator appends Chinese alongside English, cards grow to show the
|
|
84
|
+
complete content and the diagram rearranges nodes, labels, and connecting lines.
|
|
85
|
+
The original tracked map remains the single business-knowledge source.
|
|
86
|
+
|
|
82
87
|
### Post-task maintenance decision and reconciliation
|
|
83
88
|
|
|
84
89
|
Every business-changing task records its map outcome and decides whether stable
|