antvis / G6

♾ A Graph Visualization Framework in JavaScript.
https://g6.antv.antgroup.com/
MIT License
11k stars 1.3k forks source link

V5 给node添加一个角度 则连接桩的点会径向往外移动 #5946

Closed hh1412 closed 3 weeks ago

hh1412 commented 2 months ago

Describe the bug / 问题描述

V5 给node添加一个角度 则连接桩的点会径向往外移动 浏览器版本 chrome 126.0.6478.116(正式版本) (64 位) 操作系统win10 64位

Reproduction link / 重现链接

https://g6-next.antv.antgroup.com/examples/element/node/#port

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

打开https://g6-next.antv.antgroup.com/examples/element/node/#port image 在19行处增加2行代码 portR: 3, transform: 'rotate(45deg)'

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

hh1412 commented 2 months ago

可能跟 https://github.com/antvis/G6/issues/5781#issue-2322519581 有关系

Aarebecca commented 1 month ago

可能跟 #5781 (comment) 有关系

这两者是不同的原因导致的。后面会排查修复