Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from didi:master #37

Open
wants to merge 418 commits into
base: master
Choose a base branch
from
Open

[pull] master from didi:master #37

wants to merge 418 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 7, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

boyongjiong and others added 30 commits August 7, 2024 16:52
 - 更新 extension 包的 package.json
 - 修复 vue-node-registry 渲染顺序,先 appendChild,再 new Vue
 -
 - docs 中将 examples 添加到 tsconfig 的 exclude 中,TODO: 解决 examples 中的 ts 报错
 - 修复 node-selection 中 properties 未定义类型导致的报错
 - 优化 editConfigModel 中属性的初始化逻辑及其初始化值调整
 - 调小 ResizeControl 的范围 30 -> 15,原因是会盖住 Group 折叠的小按钮
 - 优化允许文本拖动的逻辑判断 -> nodeTextDraggable && draggable 才可以允许拖动
 - 完善 node:resize 及 node:rotate 事件抛出的数据
 - 将 Control 中 resize 相关的方法提取到 utils/resize.ts 中,方便在插件中直接调用
 - 在 group 组件中监听 node:resize 和 node:rotate 事件,完成对子元素的更新
 - 解决 BaseEdgeModel properties 类型的问题
wzw and others added 30 commits November 20, 2024 17:36
DynamicGroup 重写的 addElements 用原分组节点创建新的时,移除的 children 取值有问题,children 应该在 properties 中

Closes #1956
… 取值异常,导致无法复制深层的 DynamicGroup

initGroupChildNodes 中也需要在新建时移除原节点的 children 属性
同时,initGroupChildNodes 中进行递归时,传递的 children 属性应该是子分组 model 里获取的 children
使用ResizeObserver监听GraphModel中的rootEl大小变化,并新增抛出“graph:resize”事件,MiniMap监听“graph:resize”实现跟随缩放

Closes #1957
* 修复初始化画布时因为节点吸附网格导致的节点与边错位问题 close #1954
* line 和 polyline 增加getPath方法 close #1929
* 增加节点和边的focus和blur事件上报 close #1917

* 节点和边focus和blur事件逻辑优化:处理浏览器默认focus样式问题&增加类型声明
* 修复polyline points内容变化导致的无法解析问题 & 优化初始化边对齐相关逻辑
* line getPath返回数据格式优化

---------

Co-authored-by: liuziqi <[email protected]>
Co-authored-by: 你说呢? <[email protected]>
Bumps [rollup](https://github.com/rollup/rollup) from 4.21.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.21.0...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.