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

群组问题 #2902

Closed
19991122 opened this issue Nov 17, 2022 · 2 comments
Closed

群组问题 #2902

19991122 opened this issue Nov 17, 2022 · 2 comments

Comments

@19991122
Copy link

问题描述

我最近在使用antv-x6中的群组(自动扩展收缩节点),在先画好流程图再序列化保存后,通过反序列化恢复之前的流程图,但是在移动父子节点的父节点时报了上述错误,界面无响应,里面子节点没有受影响

重现链接

--

重现步骤

1.自定义一个节点采用(Graph.registerNode('flow-chart-animate-nest',{inherit: 'rect',})(zIndex=1)
2. 将节点添加到Stencil graph.createNode({shape: 'flow-chart-animate-nest'}) this.stencil.load([c1], 'combination')
3. 进入页面
4. 从Stencil 先拖动一个zindex为1的的节点作为父节点
5. 再拖一个zindex为100的节点作为子节点
6. 拖拖子节点进入父节点内
7. 调整子节点的位置
8. 使用toJson序列化进行保存
9. 通过fromJSON反序列化渲染页面
10. 页面显示正常,拖动子节点没问题
11. 拖动整个父子节点,拖动过程中无问题,拖动完毕后控制台报错,页面卡死
12. 大部分尝试是有问题的,小部分时候拖动后没有问题

预期行为

急迫希望能解决这个问题!!!

平台

  • 操作系统: [ Windows11]
  • 网页浏览器: [Google Chrome]
  • X6 版本: [1.34.2 ]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Nov 17, 2022

@19991122

为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为无复现步骤或可复现仓库而被自动关闭,提供之后会被 REOPEN。

In order to communicate effectively, we have a certain format requirement for the issue, your issue is automatically closed because there is no recurring step or reproducible warehouse, and will be REOPEN after the offer.

@x6-bot x6-bot bot closed this as completed Nov 17, 2022
@x6-bot
Copy link
Contributor

x6-bot bot commented Nov 18, 2023

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Nov 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant