@miragon/event-storming-renderer 0.4.0 → 0.4.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/README.md +2 -1
- package/dist/EventStormingBaseViewer.d.ts.map +1 -1
- package/dist/index.js +510 -510
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -112,7 +112,8 @@ const viewer = createCollaborativeViewer(); // meta.editable: false, never chang
|
|
|
112
112
|
`rawPassthrough` (with a diagnostic, returned as a `warning`), gives a sticky that claims a
|
|
113
113
|
reserved id (`event-storming-root`, `__implicitroot…`) a fresh one, and reads a coordinate or
|
|
114
114
|
size beyond ±1e38 (more than the canvas's SVG transforms hold) as an unreadable line. A board
|
|
115
|
-
passed to `diagram.importMap` that uses a reserved id
|
|
115
|
+
passed to `diagram.importMap` that uses a reserved id, or a coordinate or size beyond ±1e38
|
|
116
|
+
(`UndrawableBoardError` from the schema model), rejects before the canvas changes.
|
|
116
117
|
- `onContentChanged` fires for every command-stack change, undo and redo included (also the
|
|
117
118
|
workshop level), never for imports, view options (type captions) or the viewport.
|
|
118
119
|
- `getViewState()` / `setViewState()` read and set the diagram-js viewbox (`x`, `y`, `width`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventStormingBaseViewer.d.ts","sourceRoot":"","sources":["../src/EventStormingBaseViewer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAK9C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"EventStormingBaseViewer.d.ts","sourceRoot":"","sources":["../src/EventStormingBaseViewer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAK9C,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAO/F,OAAO,EAAW,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5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