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

[Bug]: Parallel edge settings do not support custom edges #6733

Open
2 of 10 tasks
hehh51 opened this issue Jan 16, 2025 · 3 comments
Open
2 of 10 tasks

[Bug]: Parallel edge settings do not support custom edges #6733

hehh51 opened this issue Jan 16, 2025 · 3 comments

Comments

@hehh51
Copy link

hehh51 commented Jan 16, 2025

Describe the bug / 问题描述

在使用自定义边开启平行边的设置时,自定义的边会变成默认的边line(改变曲率)
image
image

Reproduction link / 复现链接

No response

Steps to Reproduce the Bug or Issue / 重现步骤

在边数据的定义中配置了type为自定义边,并且在图实例化时没有配置默认边
开启平行边转换后自定义边不显示,显示了默认的实线边line

G6 Version / G6 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他
@hehh51 hehh51 added the status: waiting for maintainer These issues have not yet been reviewed by a maintainer label Jan 16, 2025
Copy link

感谢您报告这个问题。根据您的描述,在使用自定义边并开启平行边设置时,自定义的边会被替换为默认的边线样式。这可能是由于在平行边设置中没有正确处理自定义边的类型。

为了更好地帮助您解决这个问题,您可以尝试以下步骤:

  1. 确保在定义边数据时,正确设置了自定义边的 type 属性。
  2. 检查在图实例化时是否有任何默认边的配置可能影响了自定义边的显示。
  3. 查看是否有任何关于平行边设置的文档或示例代码,确保自定义边的配置与平行边设置兼容。

如果问题仍然存在,您可以提供一个最小可复现的代码示例,以便更详细地分析问题。

如果您需要进一步的帮助,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@github-actions github-actions bot changed the title [Bug]: 平行边设置不支持自定义边 [Bug]: Parallel edge settings do not support custom edges Jan 16, 2025
@hehh51
Copy link
Author

hehh51 commented Jan 16, 2025

并且在开启平行边转换后其他所有在数据层面设置好的边类型(包括自定义边和内置的边)都变成默认的line

@hehh51 hehh51 closed this as completed Jan 16, 2025
@hehh51 hehh51 reopened this Jan 16, 2025
@github-actions github-actions bot removed the status: waiting for maintainer These issues have not yet been reviewed by a maintainer label Jan 16, 2025
Copy link

目前没有发现与您描述的问题相似的其他问题。这个问题可能是一个新的问题。

为了帮助您解决这个问题,您可以尝试以下步骤:

  1. 确保在定义边数据时,正确配置了自定义边的类型。
  2. 检查图实例化时的配置,确保没有设置默认边。
  3. 如果问题依然存在,您可以尝试在 GitHub 上提供一个最小可复现的示例,以便开发团队更好地理解和解决问题。

如果您有更多信息或需要进一步的帮助,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

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

1 participant