antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

使用 React 定义节点如何给节点中的某一个元素指定为keyShape #6163

songxiaoyu321 posted onGitHub

现在react定义节点(createNodeFromReact)默认最外层Group为keyShape,我希望可以指定Group里的某一个子元素为keyShape,比如里边的某个Rect,请问如何设置?


目前暂不支持,这么做的目的是?

posted by Aarebecca 9 months ago

目前暂不支持,这么做的目的是?

image 比如会有这种场景,keyshape是最外层,就会导致线和Rect连接不上

posted by songxiaoyu321 9 months ago

@songxiaoyu321 这种情况你可以手动指定连接桩的位置解决

posted by Aarebecca 9 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests