bool isNodeSelected(String nodeId) { if (_nodeIndexDirty) _rebuildNodeIndex(); return _selectionManager.isNodeSelected(nodeId); }