antvis/G6

Do you want to work on this issue?

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

[v5] 新功能需求,select-element交互,批量拖拽选中的polyline edge时,可以更新controlPoints #5656

zzjjbbaa posted onGitHub

问题描述

问题描述:现在的方式,批量拖拽polyline时,controlpoints是固定的,体验很不优雅 诉求:希望动态更新controlPoints,让edge的移动看起来像是整体移动

重现链接

重现步骤

很简单,就不重现了

预期行为

希望动态更新controlPoints,让edge的移动看起来像是整体移动

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


可以尝试将 router 设置为 true,会自动计算控制点 https://g6-next.antv.antgroup.com/zh/examples/element/edge/#polyline-orth

posted by Aarebecca 11 months ago

可以尝试将 router 设置为 true,会自动计算控制点 https://g6-next.antv.antgroup.com/zh/examples/element/edge/#polyline-orth @Aarebecca 并不能满足上述需求,测试链接,在批量选中并拖拽node和edge时,edge的拐点还是固定的。类似效果参考x6

posted by zzjjbbaa 11 months ago

V4.8.24支不支持该特性?有没有不升级就可以支持办法

posted by baiyuze 10 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests