fb1935a62d
The linear layout used by the definition and run graphs placed each outcome label at the middle of its widest run with no collision check, and the run graph measured only the label text while rendering an order badge in front of it, so taken labels ran into the next node. Labels now try positions along their own route (horizontal runs above and below, sliding along, then vertical runs) and take the first whose box stays 4px clear of every node and earlier label, preferring spots off other wires. If a label finds no spot, the layout widens its column gaps and lanes and runs again; a last-resort shelf below the drawing never overlaps. The run graph measures the exact badge+label widget it renders, keyed by edge id.