ice-entity-designer-dsl 0.0.13 → 0.0.14

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.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -31,6 +31,10 @@ The package contains:
31
31
  - browser examples with a JSON editor (`examples/entity-editor-dsl.html`,
32
32
  `examples/flowchart-dsl.html`, `examples/bpmn-dsl.html`, `examples/uml-dsl.html`,
33
33
  `examples/statechart-dsl.html`, `examples/gantt-dsl.html`)
34
+ - the four new diagram examples (BPMN / UML / statechart / gantt) share
35
+ `examples/canvas-interactions.js`: canvas fills the preview pane, wheel zooms at the
36
+ cursor (`ICE.zoomAt`), dragging blank space (or any middle-button drag) pans, plus
37
+ 「适应视图 / 复位视图」 buttons
34
38
 
35
39
  ## Install
36
40
 
@@ -261,6 +265,7 @@ intermediate / end) + `trigger`, gateways carry `gatewayType` (exclusive / paral
261
265
  Open `examples/entity-editor-dsl.html` (ER), `examples/flowchart-dsl.html`
262
266
  (flowchart), `examples/bpmn-dsl.html` (BPMN), `examples/uml-dsl.html` (UML),
263
267
  `examples/statechart-dsl.html` (statechart) or `examples/gantt-dsl.html` (gantt) after building.
268
+ 渲染结果可以滚轮缩放、空白处拖拽平移,工具栏还有「适应视图 / 复位视图」。
264
269
 
265
270
  ## Agent discovery
266
271
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ice-entity-designer-dsl",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "A JSON-first DSL layer for AI agents to drive ice-entity-designer.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -19,7 +19,7 @@
19
19
  "types:check": "tsc --noEmit"
20
20
  },
21
21
  "dependencies": {
22
- "ice-entity-designer": "^0.0.28"
22
+ "ice-entity-designer": "^0.0.29"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@babel/core": "7.17.8",