antvis/G6

polyline的显示问题 #4843

justiceti posted onGitHub

问题描述

edge type为polyline 在VGap较小时连接会从下方连接,期望是从上方连接 目前: image 期望: image 我应该如何设置才能保证在间距较小的时候让线从上方连接到节点呢?

重现链接

暂无

重现步骤

如上

预期行为

如上

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


你可以试试节点上增加锚点,再通过锚点连线

<img width="929" alt="截屏2023-08-23 下午4 10 44" src="https://github.com/antvis/G6/assets/25071002/2c82ddb1-8acc-43c6-b1c9-dfa37cd71d6f">

posted by 539917729 over 1 year ago

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