OptionalnodeThe node that is currently selected, if any. This property may be undefined if no single node is selected or if multiple nodes are selected.
OptionalnodeThe ID of the node that is currently selected, if any. This property may be undefined if no single node is selected or if multiple nodes are selected.
The nodes that are currently selected. This array may be empty if no nodes are selected.
The IDs of the nodes that are currently selected. This array may be empty if no nodes are selected.
Defines the structure of a diagram selection change event, which includes information about the selected nodes and their IDs. This interface can be used to provide detailed information about selection changes in the diagram, allowing for more specific handling of selection-related interactions and updates.