antvis/G6

@antv/g6-react-node 无法正确识别自定义节点中的 anchorPoints #4188

whinc posted onGitHub

Describe the bug

在节点数据中定义 anchorPoints 后,自定义的节点没有正确识别,依然使用了内置的 anchorPoints

image

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


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests