Graphin icon indicating copy to clipboard operation
Graphin copied to clipboard

feat: add combo support in brush-select behavior

Open daniele-pini opened this issue 3 years ago • 0 comments

Description

Related PR in G6: https://github.com/antvis/G6/pull/3972

This PR adds support for selecting combos using the "brush-select" behavior. A new "includeCombos" parameter is added (default = false) to explicitly enable this effect.

Combos are selected when their midpoint is included in the rectangular brush area (similarly to edges) - most obvious when the combo is expanded:

https://user-images.githubusercontent.com/16387428/193308128-a70a47b5-1578-48b5-9950-0e7b577b33ac.mp4

daniele-pini avatar Sep 30 '22 15:09 daniele-pini