antvis/G6

初始化节点过多的时候TreeGraph.innerAddChild报错 #4732

DragonKing686 posted onGitHub

问题描述

第二层节点有20个,使用树布局,节点是自定义的图片,渲染的时候报错 image

重现链接

https://codesandbox.io/s/vigilant-wind-pkyx7s?file=/src/App.js

重现步骤

data的第二层有20个

预期行为

能够正常渲染

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


A11节点重复了,在A1的children中

posted by GemT27 almost 2 years ago

Fund this Issue

$0.00
Funded

Pull requests