Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4.0 KiB
4.0 KiB
@esengine/node-editor
1.4.0
Minor Changes
-
#438
0d33cf0Thanks @esengine! - feat(node-editor): add visual group box for organizing nodes- Add NodeGroup model with dynamic bounds calculation based on node pin counts
- Add GroupNodeComponent for rendering group boxes behind nodes
- Groups automatically resize to wrap contained nodes
- Dragging group header moves all nodes inside together
- Support group serialization/deserialization
- Export
estimateNodeHeightandNodeBoundsfor accurate size calculation
feat(blueprint): add comprehensive math and logic nodes
Math nodes:
- Modulo, Abs, Min, Max, Power, Sqrt
- Floor, Ceil, Round, Sign, Negate
- Sin, Cos, Tan, Asin, Acos, Atan, Atan2
- DegToRad, RadToDeg, Lerp, InverseLerp
- Clamp, Wrap, RandomRange, RandomInt
Logic nodes:
- Equal, NotEqual, GreaterThan, GreaterThanOrEqual
- LessThan, LessThanOrEqual, InRange
- AND, OR, NOT, XOR, NAND
- IsNull, Select (ternary)
1.3.0
Minor Changes
3bfb8a1Thanks @esengine! - feat(node-editor): add box selection and variable node error states- Add box selection: drag on empty canvas to select multiple nodes
- Support Ctrl+drag for additive selection (add to existing selection)
- Add error state styling for invalid variable references (red border, warning icon)
- Support dynamic node title via
data.displayTitle - Support hiding inputs via
data.hiddenInputsarray
1.2.2
Patch Changes
- #435
c2acd14Thanks @esengine! - fix(node-editor): 修复节点收缩后连线不显示的问题- 节点收缩时,连线会连接到节点头部(输入引脚在左侧,输出引脚在右侧)
- 展开后连线会自动恢复到正确位置
1.2.1
Patch Changes
- #433
2e84942Thanks @esengine! - fix(node-editor): 修复节点收缩后连线不显示的问题- 节点收缩时,连线会连接到节点头部(输入引脚在左侧,输出引脚在右侧)
- 展开后连线会自动恢复到正确位置
1.2.0
Minor Changes
-
#430
caf3be7Thanks @esengine! - feat(node-editor): 添加 Shadow DOM 样式注入支持 | Add Shadow DOM style injection support@esengine/node-editor
- 新增
nodeEditorCssText导出,包含所有编辑器样式的 CSS 文本 | AddednodeEditorCssTextexport containing all editor styles as CSS text - 新增
injectNodeEditorStyles(root)函数,支持将样式注入到 Shadow DOM | AddedinjectNodeEditorStyles(root)function for injecting styles into Shadow DOM - 支持在 Cocos Creator 等使用 Shadow DOM 的环境中使用 | Support usage in Shadow DOM environments like Cocos Creator
- 新增