antvis/G6

[v5] polyline-edge配置targetAnchor和sourceAnchor无效 #5443

zzjjbbaa posted onGitHub

Describe the bug

  1. 这是edge.data.type = 'line'的情况(正确) image
  2. 这是edge.data.type = 'polyline'的情况(异常) image
  3. 附上nodes和edge的配置 image

Your Example Website or App

Steps to Reproduce the Bug or Issue

Expected behavior

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response


不好意思,v5 暂时不要在线上系统中使用,预计到 3 月底,API 才能稳定。具体时间见:https://www.yuque.com/antv/g6/iwmdk3u32uwrsmi5

posted by hustcc about 1 year ago

不好意思,v5 暂时不要在线上系统中使用,预计到 3 月底,API 才能稳定。具体时间见:https://www.yuque.com/antv/g6/iwmdk3u32uwrsmi5

谢谢,我正在新项目中使用,这个项目预计最快也得年中才会接近尾声,所以可以慢慢根据你们进度调整。另外,这个问题我已经解决了,通过自定义Edge,继承LineEdge, 复写drawKeyShape解决了;但是自定义实现正交拐点的PolyLine还没实现,如果可以的话,希望大佬提供思路

posted by zzjjbbaa about 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] 6 months ago

Fund this Issue

$0.00
Funded

Pull requests