Skip to content

New: Add multiselect#110

Merged
AlexIchenskiy merged 2 commits into
release/1.0.0from
new/add-multiselect
Jul 3, 2026
Merged

New: Add multiselect#110
AlexIchenskiy merged 2 commits into
release/1.0.0from
new/add-multiselect

Conversation

@AlexIchenskiy

@AlexIchenskiy AlexIchenskiy commented Jul 2, 2026

Copy link
Copy Markdown

This PR adds the ability to select multiple entities by shift-clicking. Plain click behaves as before, shift-click toggles an entity in or out of the current selection.

The behavior is configurable via strategy settings:

  • isDefaultMultiSelectEnabled enables shift-click multiselect (disabled by default)
  • isDefaultSelectCascadeEnabled controls whether single-select cascades to neighbors (default behavior)

The interaction API has also been slightly expanded:

  • unselectNodeById(id, options?) / unselectEdgeById(id, options?) - new methods that remove a single entity (previously only unselectAll existed)
  • selectNodeById / selectEdgeById — added an optional { cascade } param

@AlexIchenskiy AlexIchenskiy self-assigned this Jul 2, 2026
@AlexIchenskiy AlexIchenskiy requested a review from tonilastre as a code owner July 2, 2026 12:02

@tonilastre tonilastre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@AlexIchenskiy AlexIchenskiy merged commit 875ae32 into release/1.0.0 Jul 3, 2026
2 checks passed
@AlexIchenskiy AlexIchenskiy deleted the new/add-multiselect branch July 3, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants