Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

ChangeSelectionResult

Type Alias ChangeSelectionResult

ChangeSelectionResult: {
    newSelectionCount: number;
    oldSelectionCount: number;
    selectedNodes: number[];
    targetNodeID: number;
}

Represents the result of a change selection operation.

This type contains information about the selection change, including the target node ID, the count of nodes in the selection before and after the change, and the list of currently selected nodes.

Type declaration

  • newSelectionCount: number

    The number of nodes that are selected after the change.

  • oldSelectionCount: number

    The number of nodes that were selected before the change.

  • selectedNodes: number[]

    An array containing the IDs of all currently selected nodes.

  • targetNodeID: number

    The ID of the node that was the target of the selection change. If value is -1, no node was targeted (for example SelectionAPI.clearSelection) or multiple nodes were effected.