Open hexinlong opened 5 months ago
changeData更新数据时,报错,报错内容为getTextSize方法的参数text为undefined
无
传入的数据为 detailsGraph.changeData({ nodes: [ { id: 'node1', label: 'node1' }, { id: 'node2', label: 'node2' } ], edges: [ { source: 'node1', target: 'node2' } ] });
我希望更新数据成功
No response
我使用的版本"@antv/g6": "4.8.14",
Describe the bug
changeData更新数据时,报错,报错内容为getTextSize方法的参数text为undefined
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
传入的数据为 detailsGraph.changeData({ nodes: [ { id: 'node1', label: 'node1' }, { id: 'node2', label: 'node2' } ], edges: [ { source: 'node1', target: 'node2' } ] });
Expected behavior
我希望更新数据成功
Screenshots or Videos
Platform
Additional context
No response