Symptom

Demo automation pipelines (kraken open_node) could only open a node’s editor (EDIT face). Diagram gradient renders, Graph color timelines, and Camera views were unreachable — the KRILL_DEMO_CONTROL select:<id> command always called viewEditor() which forces MenuCommand.UpdateViewMode.EDIT.

Root cause

DemoControl had exactly one selection path: select:<id>selectNode() + viewEditor(). viewEditor() always sets _selectedCommand = MenuCommand.Update, which KrillScreen maps to ViewMode.EDIT for every node type. There was no way to reach the VIEW face (Diagram’s DiagramScreen, Camera’s CameraScreen, etc.) from the demo pipeline.

Separately, the generic else branch in KrillScreen always passed ViewMode.EDIT for MenuCommand.Expand even when a demo wanted VIEW — so even if you reached Expand, non-special-cased node types (Graph, DataPoint, etc.) would still show the editor.

Fix

Prevention