onSelectionChanged method
Called when the node selection changes.
Override to respond when nodes are selected or deselected.
The selectedNodeIds contains all currently selected node IDs.
Implementation
void onSelectionChanged(Set<String> selectedNodeIds) {
// Default implementation does nothing
}