Symptom

The diagram__live-overlay screenshot scenario showed the dark diagram canvas panel meeting the surrounding surface with no border, no consistent outer inset, and node-list content visually colliding with the canvas area. The audit recorded the node list and diagram panel as an unresolved visual seam.

Root cause

Two related gaps:

  1. DiagramOverlaySurface in Scenarios.kt used a flat Column layout that stacked the title and dark panel vertically, with node rows placed inside the dark panel. This made the structural split between “node list” and “diagram canvas” invisible — there was no left/right division, no seam separator, and no framing border.

  2. The production DiagramScreen’s SVG canvas Box used Modifier.fillMaxSize() with no border or outer inset, so the canvas extended to all four screen edges without any framing.

Fix

Prevention