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

addEdge操作时source或者target如果是Edge的话,那么toJSON再fromJSON会无法正确渲染 #3880

Closed
sjw1228 opened this issue Aug 30, 2023 · 4 comments
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems

Comments

@sjw1228
Copy link

sjw1228 commented Aug 30, 2023

问题描述

addEdge操作时source或者target如果是Edge的话,那么toJSON再fromJSON会无法正确渲染,控制台会报错,且addEdge的那条边不显示

重现链接

重现步骤

1、使用addEdge方法在Edge和Node之间创建连线
2、使用toJSON方法导出数据
3、使用fromJSON方法导入数据
4、控制台报错,画布无法正确渲染

预期行为

正确渲染

平台

版本1.34.6

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Aug 30, 2023

👋 @sjw1228

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.

@NewByVector
Copy link
Contributor

能否提供可以可以复现的 demo?

@NewByVector NewByVector added the resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems label Sep 7, 2023
@NewByVector
Copy link
Contributor

因为无法复现,这个 issue 先关闭。

@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 3, 2024

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 Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems
Projects
None yet
Development

No branches or pull requests

2 participants