You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
问题描述
通过配置excludeNodes可以规避线条在连接时异常的问题,但当我页面刷新通过fromJson(cells)再次渲染画布内容时,excludeNodes似乎失效,线条连接出现异常
重现链接
暂无
重现步骤
1.为createEdge/router/excludeNodes赋值
2.连接线条
3.保存画布数据为cells
4.刷新页面并通过graph.fromJson(cells)还原之前的画布内容
预期行为
希望excludeNodes在fromJson后能够正常帮助线条规避需要忽视的障碍物,但目前似乎在fromJson这个功能异常。
平台
屏幕截图或视频(可选)
补充说明(可选)
我目前在代码中的处理为fromJson()为每条edge重新设置excludeNodes
![image](https://private-user-images.githubusercontent.com/100813306/335811396-af5587b7-946c-468d-a71d-8d04d758e1af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxMzA0MDMsIm5iZiI6MTcyMjEzMDEwMywicGF0aCI6Ii8xMDA4MTMzMDYvMzM1ODExMzk2LWFmNTU4N2I3LTk0NmMtNDY4ZC1hNzFkLThkMDRkNzU4ZTFhZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyOFQwMTI4MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jODYzNDkwNDc0ODVlNDY3Zjc2ZDU1ZWJlYjA5NzgzYTgwYWNjMDEyNzY3YzQzZDAxNDRmMDE0YzI5NGU2NTQ4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.hvSSPN6nycNLu2SpBuJgHVohGkH-jalGmulu3yK11Tw)
The text was updated successfully, but these errors were encountered: