Skip to content

D3-Force 布局,配置了鼠标单击触发折叠展开,折叠/展开后,节点位置会移动,但连线不会移动。导致图形错乱 #7606

@hugangyi-110

Description

@hugangyi-110

Describe the bug / 问题描述

{
key: 'collapse-expand',
type: 'collapse-expand',
trigger: 'click',
// animation: true,

  },

Reproduction link / 复现链接

No response

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

No response

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for maintainerTriage or intervention needed from a maintainer.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions