X6 icon indicating copy to clipboard operation
X6 copied to clipboard

The select box does not follow the mouse as you drag to move it

Open damnright opened this issue 1 year ago • 1 comments

Describe the bug

It's a bug from Selection plugin,mostly because of the moving function does not consider the graph's scale.

Your Example Website or App

https://stackblitz.com/

Steps to Reproduce the Bug or Issue

1.Enabling selection,set 'following' to false. 2.Selecting multiple nodes. 3.Scaling the graph. 4.Draging the Selection box.

Expected behavior

moving in proper way

Screenshots or Videos

ss

Platform

  • OS: Windows10
  • Browser: Chrome
  • Version: latest

Additional context

No response

damnright avatar Mar 20 '24 08:03 damnright

自己实现渲染选择框吧,根据框选所有节点的外包矩形

light-years-run avatar Apr 25 '24 07:04 light-years-run