antvis/G6

[Bug]: The edge edge is animated with the flow direction, but the custom node can't rotate with the edge? #6590

lhz7695001 posted onGitHub

Describe the bug / 问题描述

需求:V5版本实现连接两个节点的边动画效果,水滴流向效果如示例。最好是实现效果支持带弧度曲线。

问题:目前通过动画结合添加自定义节点实现,但是自定义marker无法随边旋转,期望能随边旋转。

期望: 希望专家能指导下如何达到我的预期,最好是能够支持在曲线edge情况下,也能有流向效果,先谢过

No response

Steps to Reproduce the Bug or Issue / 重现步骤

image 这是我目前的代码 image image

G6 Version / G6 版本

Please select / 请选择

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

Please provide more information, or use the standard format, otherwise we will not process this issue. Reference document:


请提供更多信息,或者使用规范的格式,否则我们不会处理这个 issue。 参考文档:

posted by github-actions[bot] 5 months ago

讨论问题请到 Discussion

posted by Aarebecca 5 months ago

1

posted by lhz7695001 5 months ago

1

posted by lhz7695001 5 months ago

Fund this Issue

$0.00
Funded

Pull requests