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

数据快速变动时,关联线会错乱或者消失;节点连线也会出现消失的情况 #832

Open
ZhangLujie123 opened this issue Aug 30, 2024 · 8 comments

Comments

@ZhangLujie123
Copy link

数据快速变动时,关联线会错乱或者消失;节点连线也会出现消失的情况

@wanglin2
Copy link
Owner

代码贴出来看看

@ZhangLujie123
Copy link
Author

ZhangLujie123 commented Aug 30, 2024

1725261839165(1)

是给选中节点ai创建子节点 每次ai返回markdown数据后进行数据更新 更新频率有点高
在在线版里可以通过长按创建节点快捷键来复现

@wanglin2
Copy link
Owner

wanglin2 commented Sep 5, 2024

updateData方法是要求数据里节点有uid的,请先确认一下数据问题

@ZhangLujie123
Copy link
Author

是有给添加的数据加uid的 原本的数据里也都是有uid的
111

@wanglin2
Copy link
Owner

wanglin2 commented Sep 6, 2024

是有给添加的数据加uid的 原本的数据里也都是有uid的 111

比如说新旧数据相同的节点,uid是否相同,还是每次都会全部生成新的uid?

@ZhangLujie123
Copy link
Author

是有给添加的数据加uid的 原本的数据里也都是有uid的 111

比如说新旧数据相同的节点,uid是否相同,还是每次都会全部生成新的uid?

原有的旧节点uid是不变的 只给新添加的数据创建了新的uid

@wanglin2
Copy link
Owner

wanglin2 commented Sep 6, 2024

那就奇怪了

@ZhangLujie123
Copy link
Author

那就奇怪了

感觉是数据快速变动时 关联线或者是节点连线的重绘跟不上这个数据变动的速度
image

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

No branches or pull requests

2 participants