diff --git a/apps/arc-web/app/routes/run-overview.tsx b/apps/arc-web/app/routes/run-overview.tsx index 4818a8e2f..ffa271b00 100644 --- a/apps/arc-web/app/routes/run-overview.tsx +++ b/apps/arc-web/app/routes/run-overview.tsx @@ -65,8 +65,22 @@ const THEME_ATTRS = ` ] `; +function colorSpecialNodes(dot: string): string { + // Mdiamond / Msquare → teal start/exit nodes + dot = dot.replace( + /(\bshape\s*=\s*M(?:diamond|square)\b[^\]]*)\]/g, + '$1, fillcolor="#0d4f4f", color="#14b8a6", fontcolor="#5eead4"]', + ); + // hexagon / diamond (but not Mdiamond) → amber gate nodes + dot = dot.replace( + /(\bshape\s*=\s*(?:hexagon|(?