antvis/G6

[Bug]: Node property is set to collapsed to true, and the node is not collapsed #6758

zhou94 posted onGitHub

Describe the bug / 问题描述

节点属性设置collapsed 为 true,节点未折叠

https://stackblitz.com/edit/sqyvmehg?file=index.js

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

No response

G6 Version / G6 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

目前没有找到与您描述的问题相似的其他问题记录。您可以尝试以下步骤来解决此问题:

  1. 确保您在正确的节点上设置了 collapsed 属性。
  2. 检查是否有其他代码逻辑覆盖了 collapsed 属性的设置。
  3. 确保您使用的是最新版本的 G6,并且没有其他兼容性问题。

如果问题仍然存在,建议您在 GitHub 上提交一个详细的 issue,包括重现步骤和代码示例,以便开发团队能够更好地帮助您解决问题。

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

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

posted by petercat-assistant[bot] 2 months ago

找到设置了

posted by zhou94 2 months ago

Fund this Issue

$0.00
Funded

Pull requests