@deprecated See LGraphCanvas.select
(node: LGraphNode, add_to_current_selection?: boolean)
| 3801 | |
| 3802 | /** @deprecated See {@link LGraphCanvas.select} */ |
| 3803 | selectNode(node: LGraphNode, add_to_current_selection?: boolean): void { |
| 3804 | if (node == null) { |
| 3805 | this.deselectAll() |
| 3806 | } else { |
| 3807 | this.selectNodes([node], add_to_current_selection) |
| 3808 | } |
| 3809 | } |
| 3810 | |
| 3811 | get empty(): boolean { |
| 3812 | if (!this.graph) throw new NullGraphError() |
nothing calls this directly
no test coverage detected