X6 icon indicating copy to clipboard operation
X6 copied to clipboard

线段工具 + manhattan 路由会出现不理想的路径

Open mugo1993-ss opened this issue 2 years ago • 4 comments

问题描述

image

重现链接

需求

重现步骤

进行线段工具的拉动时,出现了很奇怪路径

预期行为

希望时平滑的线段

平台

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

屏幕截图或视频(可选)

image

补充说明(可选)

No response

mugo1993-ss avatar Jul 20 '22 09:07 mugo1993-ss

https://codesandbox.io/s/antv-x6-manhattan-routing-edge-tools-w67o06?file=/src/app.tsx

推测是线段工具不能很好地兼容 manhattan 路由

tonywu6 avatar Jul 20 '22 11:07 tonywu6

感谢!!改成正交路由后orth,可以出现较理想的路径。

mugo1993-ss avatar Jul 21 '22 02:07 mugo1993-ss

manhattan路由确实有bug,建议修复

neeker007 avatar Jul 21 '22 11:07 neeker007

线段工具 + manhattan 路由希望能修复一下,感谢大佬们。正交会出现贴线问题: image

mugo1993-ss avatar Jul 28 '22 01:07 mugo1993-ss

@mugo1993-ss 可以设置 orth 的 padding 配置解决你的问题。

NewByVector avatar Sep 04 '22 14:09 NewByVector

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

x6-bot[bot] avatar Sep 05 '23 00:09 x6-bot[bot]