@miragon/wardley-renderer 0.14.0 → 0.15.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.
- package/README.md +47 -24
- package/dist/draw-tool/WardleyDrawTool.d.ts +8 -1
- package/dist/draw-tool/WardleyDrawTool.d.ts.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1206 -1082
- package/dist/index.js.map +1 -1
- package/dist/io/blobToBase64.d.ts +3 -0
- package/dist/io/blobToBase64.d.ts.map +1 -0
- package/dist/io/index.d.ts +1 -2
- package/dist/io/index.d.ts.map +1 -1
- package/dist/keyboard/WardleyKeyboard.d.ts +2 -1
- package/dist/keyboard/WardleyKeyboard.d.ts.map +1 -1
- package/dist/lasso/WardleyLassoBehavior.d.ts +5 -1
- package/dist/lasso/WardleyLassoBehavior.d.ts.map +1 -1
- package/dist/lasso/index.d.ts +1 -1
- package/dist/lasso/index.d.ts.map +1 -1
- package/dist/map-menu/index.d.ts +0 -2
- package/dist/map-menu/index.d.ts.map +1 -1
- package/dist/map-menu/popover.d.ts.map +1 -1
- package/dist/palette/WardleyHoverTooltipTeardown.d.ts +6 -5
- package/dist/palette/WardleyHoverTooltipTeardown.d.ts.map +1 -1
- package/dist/palette/WardleyPaletteKeyboard.d.ts +4 -2
- package/dist/palette/WardleyPaletteKeyboard.d.ts.map +1 -1
- package/dist/palette/WardleyPaletteProvider.d.ts +8 -3
- package/dist/palette/WardleyPaletteProvider.d.ts.map +1 -1
- package/dist/palette/WardleyPaletteReadOnly.d.ts +26 -0
- package/dist/palette/WardleyPaletteReadOnly.d.ts.map +1 -0
- package/dist/palette/WardleyPaletteTooltip.d.ts +40 -16
- package/dist/palette/WardleyPaletteTooltip.d.ts.map +1 -1
- package/dist/palette/index.d.ts +1 -0
- package/dist/palette/index.d.ts.map +1 -1
- package/dist/read-only/WardleyReadOnly.d.ts +26 -4
- package/dist/read-only/WardleyReadOnly.d.ts.map +1 -1
- package/dist/read-only/index.d.ts +3 -0
- package/dist/read-only/index.d.ts.map +1 -1
- package/dist/wardley.css +1 -1
- package/package.json +1 -1
- package/dist/io/rasterize.d.ts +0 -31
- package/dist/io/rasterize.d.ts.map +0 -1
- package/dist/map-menu/ShortcutsDialog.d.ts +0 -24
- package/dist/map-menu/ShortcutsDialog.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -35,6 +35,27 @@ const { svg } = await viewer.saveSVG();
|
|
|
35
35
|
|
|
36
36
|
Swap `NavigatedViewer` for `Modeler` to get the editable map (palette, context pad, undo/redo).
|
|
37
37
|
|
|
38
|
+
For a host without the Miragon modeler shell, the `Modeler`'s palette is the toolbar of the Miragon
|
|
39
|
+
design guide: a glass island at the top centre of the container (opaque in high contrast), in the
|
|
40
|
+
second row, 64px from the top, in a container at most 760px wide, and ahead of the canvas in the
|
|
41
|
+
tab order, with one tab stop that the arrow keys, Home and End move. Its tooltip names the entry
|
|
42
|
+
and its key 8px below the palette, centred on the entry and at least 12px from the container's
|
|
43
|
+
sides; it shows after 300ms of hover, at once on keyboard focus or for a neighbour, never for a
|
|
44
|
+
tap, and hides on a press, on Escape and when the pointer or the focus leaves. Where the palette
|
|
45
|
+
scrolls sideways, the tooltip moves with its entry and hides once the entry has left the view. The
|
|
46
|
+
palette lies before the canvas `<svg>` in the container, so a host finds the canvas with
|
|
47
|
+
`canvas.getContainer().querySelector(":scope > svg")`, not as the first `svg`. A palette a chrome
|
|
48
|
+
skins (`data-chrome="palette"`) is left to that chrome.
|
|
49
|
+
|
|
50
|
+
The lasso is pressed (`aria-pressed="true"`) only while it is armed, in every host: Enter or Space
|
|
51
|
+
on the armed lasso puts it down, as Escape does, and so does arming the draw tool; a pointer's click
|
|
52
|
+
on the lasso arms it again. One tool is armed at a time: arming the lasso (a click, Enter or Space
|
|
53
|
+
on its entry, or L) puts the armed draw tool down, and a click, Enter or Space on the lasso's entry
|
|
54
|
+
saves a line the draw tool holds, as Escape does; L does nothing while it holds one. While the
|
|
55
|
+
read-only lock shows (below), the palette without the shell marks every entry but the lasso
|
|
56
|
+
`aria-disabled="true"` and mutes it (guide §13.5): it stays focusable, and a click, drag, Enter or
|
|
57
|
+
Space on it does nothing from the lock on.
|
|
58
|
+
|
|
38
59
|
## API
|
|
39
60
|
|
|
40
61
|
| Member | What it does |
|
|
@@ -48,7 +69,7 @@ Swap `NavigatedViewer` for `Modeler` to get the editable map (palette, context p
|
|
|
48
69
|
| `undo()` / `redo()` / `canUndo()` / `canRedo()` | `Modeler` only: the canvas command stack. |
|
|
49
70
|
| `commitPendingEdits()` | `Modeler` only: saves an open inline editor, e.g. before a save shortcut. |
|
|
50
71
|
| `on(event, callback)` / `off(event, callback)` | diagram-js events, see below. |
|
|
51
|
-
| `
|
|
72
|
+
| `blobToBase64(blob)` | Encodes a Blob, such as the PNG of the shell's `svgToPng` (see below), as Base64 without the data-URL prefix. |
|
|
52
73
|
| `setAsideEditorState(modeler)` / `restoreEditorState(…)` | Keeps the selection and an open inline editor across a re-import of an externally changed map. |
|
|
53
74
|
|
|
54
75
|
`setEvolutionLabels` turns an empty stage into its default label and `->` into `→`, so the labels
|
|
@@ -82,7 +103,12 @@ Options (the names of the `@miragon/modeler-api` 1.2 factory options):
|
|
|
82
103
|
The `wardleyReadOnly` service (`modeler.get<WardleyReadOnly>('wardleyReadOnly').setReadOnly(true)`)
|
|
83
104
|
locks the canvas while its host cannot save an edit, e.g. while the document is invalid: every edit
|
|
84
105
|
rule is vetoed, an open editor, popup or drag ends without saving, the handles hide, and selection,
|
|
85
|
-
zoom, pan, select all and export stay.
|
|
106
|
+
zoom, pan, select all and export stay. `setReadOnly(true, { delayMs: 800 })` locks at once but marks
|
|
107
|
+
the palette only once the delay has passed without `setReadOnly(false)`, so typing an invalid file
|
|
108
|
+
in an editor beside the canvas does not flicker (guide §13.5); a call while the delay runs keeps
|
|
109
|
+
its timer, `setReadOnly(false)` takes the marks off at once, and `isReadOnlyShown()` tells whether
|
|
110
|
+
they show. It fires `wardley.readOnly.changed` with `{ readOnly, shown }` when the lock changes and
|
|
111
|
+
once more when delayed marks show.
|
|
86
112
|
|
|
87
113
|
The canvas's keys (undo and redo, delete, copy, paste and duplicate, select all, the arrows, Escape
|
|
88
114
|
and the single-key tools C, U, N, P, L and A) act only while the canvas `<svg>` has the focus, as
|
|
@@ -106,9 +132,10 @@ drag, the point drag of a drawing (the drawing stays selected) and the drag of a
|
|
|
106
132
|
evolve target. These drags and the colour picker take only an Escape aimed at the canvas (the
|
|
107
133
|
picker also one on its swatches); one aimed at the palette, the context pad, a name editor or a
|
|
108
134
|
host's field, menu, dialog or overlay, inside the canvas container or next to it, stays with that
|
|
109
|
-
control. While the draw tool holds the points of a line, the single-key tools
|
|
110
|
-
line is finished or cancelled, and the canvas
|
|
111
|
-
on the Draw entry save the line, as Enter on
|
|
135
|
+
control. While the draw tool holds the points of a line, the single-key tools and Cmd/Ctrl+V (the
|
|
136
|
+
paste attaches to the pointer) do nothing until the line is finished or cancelled, and the canvas
|
|
137
|
+
takes them with `preventDefault()`. Enter and Space on the Draw entry save the line, as Enter on
|
|
138
|
+
the canvas does. While a point of a drawing is dragged,
|
|
112
139
|
the keys that would change the drawing under the drag or start a second gesture next to it do
|
|
113
140
|
nothing until the release, and the canvas takes them with `preventDefault()`: the single-key tools,
|
|
114
141
|
the arrow keys, paste and duplicate. Delete still removes the drawing, which ends the drag without a
|
|
@@ -227,7 +254,8 @@ The map's entries of a chrome menu (Model: "Map title…" where the host passes
|
|
|
227
254
|
size…" and "X-axis labels…"; Export; Help) come from `mapMenu(actions)`, in the shape the menu
|
|
228
255
|
groups of [`@miragon/modeler-shell`](https://www.npmjs.com/package/@miragon/modeler-shell) take.
|
|
229
256
|
`createMapSizePopover(chrome, modeler)` and `createAxisLabelsPopover(chrome, modeler)` build the two
|
|
230
|
-
popovers (a live preview, one undo step when done
|
|
257
|
+
popovers (a live preview, one undo step when done; an Escape that closes one keeps a tool armed from
|
|
258
|
+
the palette, as the shell's own layers do), `createTitleDialog(chrome, modeler)` the "Map
|
|
231
259
|
title…" dialog (one undo step on Apply, nothing for an unchanged title),
|
|
232
260
|
`mapShortcuts(chrome, options)` the groups of its "Keyboard shortcuts…" dialog as data. A web app
|
|
233
261
|
that binds Cmd/Ctrl+O, Cmd/Ctrl+S, Cmd/Ctrl+V on the canvas and `?` itself passes
|
|
@@ -241,28 +269,23 @@ scrolling body, footer), for a host's own dialogs in the same look; `dialogButto
|
|
|
241
269
|
gives its buttons. `chrome` is the shell handle or anything of the same shape; the renderer never
|
|
242
270
|
imports the shell itself.
|
|
243
271
|
|
|
244
|
-
###
|
|
272
|
+
### PNG export
|
|
245
273
|
|
|
246
|
-
|
|
247
|
-
(
|
|
248
|
-
|
|
274
|
+
The package draws no PNG itself: `svgToPng` of `@miragon/modeler-shell/export` rasterizes the SVG of
|
|
275
|
+
`saveSVG()`, embeds Geist, loads the SVG as a data: URL and fills the background the caller names. A
|
|
276
|
+
map has a plot, so its PNG lies on `--cd-ui-plot` (guide §10.7), which is `COLORS.plotBackground`:
|
|
249
277
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
- `svgToPng(svg, { scale, transparent })` (with `SvgToPngOptions`) is replaced by `svgToPng` of
|
|
254
|
-
`@miragon/modeler-shell/export`, which embeds Geist, loads the SVG as a data: URL and fills the
|
|
255
|
-
background the caller names. A map has a plot, so its PNG lies on `--cd-ui-plot` (guide §10.7), not
|
|
256
|
-
on the paper this one fills:
|
|
278
|
+
```ts
|
|
279
|
+
import { COLORS } from "@miragon/wardley-renderer";
|
|
280
|
+
import { svgToPng } from "@miragon/modeler-shell/export";
|
|
257
281
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
282
|
+
const { svg } = await modeler.saveSVG();
|
|
283
|
+
const png = await svgToPng(svg, { background: COLORS.plotBackground }); // 2×
|
|
284
|
+
const forSlides = await svgToPng(svg, { background: "transparent", scale: 4 });
|
|
285
|
+
```
|
|
261
286
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
const forSlides = await svgToPng(svg, { background: "transparent", scale: 4 });
|
|
265
|
-
```
|
|
287
|
+
`blobToBase64(png)` gives the picture as Base64 without the data-URL prefix, e.g. to post it to a VS
|
|
288
|
+
Code extension host.
|
|
266
289
|
|
|
267
290
|
## Events
|
|
268
291
|
|
|
@@ -11,7 +11,8 @@ import { default as EvolutionGrid } from '../evolution-grid/EvolutionGrid.js';
|
|
|
11
11
|
* commits the open line, and so does Space on the tool's palette entry; clicking the FIRST point
|
|
12
12
|
* closes the shape. Escape with fewer than two points cancels. The result is ONE undoable
|
|
13
13
|
* `drawing` shape that moves as a whole. An import cancels a line in progress without committing
|
|
14
|
-
* it and leaves a tool without points armed.
|
|
14
|
+
* it and leaves a tool without points armed. Arming another tool (the lasso) puts it down and saves
|
|
15
|
+
* a held line as Escape does, so one tool is armed at a time.
|
|
15
16
|
*/
|
|
16
17
|
export default class WardleyDrawTool {
|
|
17
18
|
private readonly canvas;
|
|
@@ -39,6 +40,12 @@ export default class WardleyDrawTool {
|
|
|
39
40
|
activate(): void;
|
|
40
41
|
/** Finishes the current polyline (>= 2 points) and deactivates the tool. */
|
|
41
42
|
finish(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Another tool took the press: the line is saved as Escape saves it, and the release is not
|
|
45
|
+
* reported, which would show that tool released while it is armed.
|
|
46
|
+
*/
|
|
47
|
+
private giveWay;
|
|
48
|
+
private finishLine;
|
|
42
49
|
/** Closes the shape (polygon) using the collected points. */
|
|
43
50
|
private finishClosed;
|
|
44
51
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WardleyDrawTool.d.ts","sourceRoot":"","sources":["../../src/draw-tool/WardleyDrawTool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAQrC,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,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E,qBAAqB,EAC9B,IAAI,EAAE,aAAa,EACnB,QAAQ,EAAE,QAAQ;IAkBrC,QAAQ,IAAI,OAAO;IAInB,8EAA8E;IAC9E,SAAS,IAAI,OAAO;IAIpB,MAAM,IAAI,IAAI;IAKd;;;OAGG;IACH,OAAO,CAAC,cAAc;IAKtB,QAAQ,IAAI,IAAI;IAgBhB,4EAA4E;IAC5E,MAAM,IAAI,IAAI;IAId;;;OAGG;IACH,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,UAAU;IAOlB,6DAA6D;IAC7D,OAAO,CAAC,YAAY;IAOpB;;;OAGG;IACH,OAAO,CAAC,MAAM;IAWd,MAAM,IAAI,IAAI;IAId,OAAO,CAAC,UAAU;IAelB;;;OAGG;IACH,OAAO,CAAC,aAAa;IAYrB,sFAAsF;IACtF,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAsB1B;IAEF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAKzB;IAEF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAI1B;IAEF;;;;;;;OAOG;IACH,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,sBAAsB;IAQ9B;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAcxB;IAEF,OAAO,CAAC,aAAa;IAiDrB,OAAO,CAAC,YAAY;CAMrB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export { COLORS, PLOT } from './draw/styles.js';
|
|
|
10
10
|
export { PLOT_MIN, PLOT_MAX, MAP_SIZE_PRESETS, normalizeMapSize, presetIdForSize, } from '@miragon/wardley-schema-model';
|
|
11
11
|
export type { MapSize, MapSizePreset, MapSizePresetId } from '@miragon/wardley-schema-model';
|
|
12
12
|
export { MIRAGON } from './theme/index.js';
|
|
13
|
-
export { ioModule, WardleyImporter, WardleyExporter, WardleySourceOrder, saveSVG, exportBounds,
|
|
14
|
-
export type { SvgBounds
|
|
13
|
+
export { ioModule, WardleyImporter, WardleyExporter, WardleySourceOrder, saveSVG, exportBounds, blobToBase64, ROOT_ID, } from './io/index.js';
|
|
14
|
+
export type { SvgBounds } from './io/index.js';
|
|
15
15
|
export { wardleyModelingModule, WardleyModeling } from './modeling/index.js';
|
|
16
16
|
export { wardleyLayoutModule, WardleyLayouter } from './layout/index.js';
|
|
17
17
|
export type { EvolveOptions, MapConfigUpdate } from './modeling/index.js';
|
|
@@ -21,6 +21,7 @@ export { pipelineGroupModule, PipelineGroupBehavior } from './pipeline/index.js'
|
|
|
21
21
|
export { linkEditingModule, WardleyLinkEditing, canHaveLink, linkOf, } from './link-editing/index.js';
|
|
22
22
|
export { wardleyLabelDragModule, WardleyLabelDragging } from './label-drag/index.js';
|
|
23
23
|
export { readOnlyModule, WardleyReadOnly, READ_ONLY_CHANGED } from './read-only/index.js';
|
|
24
|
+
export type { WardleyReadOnlyOptions } from './read-only/index.js';
|
|
24
25
|
export type { LabelRole } from './label-drag/index.js';
|
|
25
26
|
export { canvasAccessibilityModule } from './a11y/index.js';
|
|
26
27
|
export { wardleyLassoModule, WardleyLassoBehavior } from './lasso/index.js';
|
|
@@ -41,8 +42,8 @@ export type { InteractionChangedEvent } from './interaction/index.js';
|
|
|
41
42
|
export { WARDLEY_THEMES } from './appearance/index.js';
|
|
42
43
|
export { WARDLEY_NOTATION, createCollaborativeModeler, createCollaborativeViewer, } from './collaborative/index.js';
|
|
43
44
|
export type { CollaborativeWardleyModeler, CollaborativeWardleyOptions, WardleyElementsSurface, } from './collaborative/index.js';
|
|
44
|
-
export { EXPORT_LABELS, createAxisLabelsPopover, createMapDialog, createMapSizePopover,
|
|
45
|
-
export type { DialogChrome, MapDialog, MapDialogParts, MapShortcutOptions, TitleDialog, TitleDialogChrome, MapExport, MapExports, MapMenu, MapMenuAction, MapMenuActions, MapMenuDialog, MapMenuEntry, MapMenuIcon, PopoverChrome, PopoverHandle, ShortcutGroup, ShortcutKeyNames, ShortcutPlatform, ShortcutRow, ShortcutsChrome,
|
|
45
|
+
export { EXPORT_LABELS, createAxisLabelsPopover, createMapDialog, createMapSizePopover, createTitleDialog, dialogButton, mapMenu, mapShortcuts, } from './map-menu/index.js';
|
|
46
|
+
export type { DialogChrome, MapDialog, MapDialogParts, MapShortcutOptions, TitleDialog, TitleDialogChrome, MapExport, MapExports, MapMenu, MapMenuAction, MapMenuActions, MapMenuDialog, MapMenuEntry, MapMenuIcon, PopoverChrome, PopoverHandle, ShortcutGroup, ShortcutKeyNames, ShortcutPlatform, ShortcutRow, ShortcutsChrome, } from './map-menu/index.js';
|
|
46
47
|
export type { EditorState, RestoreOptions } from './editor-state.js';
|
|
47
48
|
export { wardleyKeyboardModule } from './keyboard/index.js';
|
|
48
49
|
export type { WardleyKeyboardConfig } from './keyboard/WardleyKeyboard.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,aAAa,GACd,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,IAAI,EA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