enableNodeDeletion property

bool enableNodeDeletion
final

Whether to enable node deletion via keyboard shortcuts (Delete/Backspace) and API.

When false, nodes cannot be deleted through keyboard shortcuts. Programmatic deletion via controller.removeNode() is still possible. Defaults to true.

Implementation

final bool enableNodeDeletion;