ice-entity-designer 0.0.28 → 0.0.29
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 +3 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/index.umd.js +2 -2
- package/dist/react.cjs +2 -2
- package/dist/react.mjs +2 -2
- package/dist/types/flow/FlowDesigner.d.mts +14 -0
- package/dist/types/flow/FlowDesigner.d.ts +14 -0
- package/dist/types/gantt/GanttDesigner.d.mts +9 -0
- package/dist/types/gantt/GanttDesigner.d.ts +9 -0
- package/dist/types/uml/UmlRelation.d.mts +7 -0
- package/dist/types/uml/UmlRelation.d.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,6 +54,9 @@ IED(ice entity designer)是基于 [ice-render](https://github.com/ice-render
|
|
|
54
54
|
### 编辑器内核能力(继承自 ice-render)
|
|
55
55
|
|
|
56
56
|
- 画布滚轮缩放、空白处拖拽平移。
|
|
57
|
+
- 每个域包示例页统一接入上面这套视口交互(`tests/canvas-interactions.js`):canvas 铺满可视区,
|
|
58
|
+
滚轮以光标为锚点缩放,空白处左键 / 任意位置中键拖拽平移,工具栏带「适应视图 / 复位视图」。
|
|
59
|
+
老示例把 canvas 写死成 1800×1100 而可视区更小,`fitViewport()` 是按 canvas 尺寸算的 —— 图会被切在屏幕外。
|
|
57
60
|
- 拖拽对齐辅助线与磁吸效果。
|
|
58
61
|
- Undo / Redo(基于项目快照,最多 100 步)。
|
|
59
62
|
- 项目级保存 / 加载(`serializeProject()` / `loadProject()`)。
|