OnSelectionChangeParams
The OnSelectionChangeParams type is an object containing the currently selected
nodes and edges. It is passed to an OnSelectionChangeFunc.
type OnSelectionChangeParams<NodeType extends Node = Node, EdgeType extends Edge = Edge> = {
nodes: NodeType[];
edges: EdgeType[];
};| Name | Type | Default |
|---|---|---|
nodes | NodeType[] | |
edges | EdgeType[] |