antvis/G6


The issue has been closed
我创建的力导向图,自定义的节点间的连线,起止位置不是从节点周边开始,而是从节点周围的方形位置起止 #6076
jindazhen posted onGitHub
Describe the bug / 问题描述
<img width="267" alt="Snode" src="https://github.com/user-attachments/assets/f62c3f10-106a-4311-9466-9abb0623461c">
这种问题后续会有优化吗,我尝试了使用edgeAnchor 使用函数在registerNode中重置连线的起止位置,但是这个配置的函数中debugger根本没起作用。还有一种anchorPoints使用后连线是从固定的点起止的,不是从节点圆心出发,真个图显得不自然,有方案提供吗
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
4.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome
Additional context / 补充说明
No response