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

闭环引发的栈溢出问题 #2

Open
XhivaW opened this issue May 26, 2022 · 1 comment
Open

闭环引发的栈溢出问题 #2

XhivaW opened this issue May 26, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@XhivaW
Copy link

XhivaW commented May 26, 2022

首先感谢开源这个好用的demo

我在使用过程中,发现血缘高亮功能面对闭环会陷入死循环,报错:

jsPlumb: fire failed for event click : RangeError: Maximum call stack size exceeded

建议在寻找上下游的迭代过程中加个可配置的迭代次数参数 应该可以解决问题

@mizuhokaga
Copy link
Owner

你好XhivaW!非常感谢issue
1.关于闭环的问题,由于 jsplumb的性质是只负责渲染的表示工具不维护数据,所以我最初的设想也是闭环等问题由后端生成json时解决,jsplumb不负责处理
2.关于你的配置的迭代次数参数这个提案,我会在有空的时候想想怎么写好它!血缘高亮这个功能当时写完后其实有缺陷的,非常抱歉!

@mizuhokaga mizuhokaga added the help wanted Extra attention is needed label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants