antvis/G6

The issue has been closed
@antv/g6-react-node 无法正确识别自定义节点中的 anchorPoints #4188
whinc posted onGitHub
Describe the bug
在节点数据中定义 anchorPoints 后,自定义的节点没有正确识别,依然使用了内置的 anchorPoints
Your Example Website or App
https://codesandbox.io/s/antv-g6-react-node-demo-mtfu6m?file=/src/App.tsx
Steps to Reproduce the Bug or Issue
见demo
Expected behavior
期望在节点数据中定义的 anchorPoints 能正确的被自定义节点识别
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Chrome
- Version: 107
Additional context
No response