Graphin
Graphin copied to clipboard
feat: add combo support in brush-select behavior
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