Add node IDs to the existing selection (shift-click).
Clear all node and edge selections.
The uniform reset name across every exported store. The other six
have always called it clear; this one called it clearSelection,
so a host wiring up two stores had to remember which was which.
Use clear. Kept working so this is not a breaking change, and removed no earlier than the next major, per the deprecation policy in RELEASE.md.
Node currently being hovered (null if none).
Remove ids from the node selection (review 4.12: the collapse counterpart to addNodesToSelection).
Currently selected edge IDs. See selectedNodeIds.
Replace the entire selection with the given edge IDs.
Currently selected node IDs.
ReadonlySet on purpose. This store is one of the three declared
host-integration channels, so the collection is handed to code this
package does not own; typed as a mutable Set a host could call
.add() on it and change the selection without going through an
action, leaving subscribers unnotified and the canvas out of sync
with the store. The narrowing is compile-time only, so nothing
changes at runtime for a host that was already using the actions.
Replace the entire selection with the given node IDs.
Set the hovered node (or null to clear hover).
Toggle a node in/out of selection (ctrl-click).
Add edge IDs to the existing selection.