Increase edge corner radius from 12px to 40px for smoother curves

The 12px quadratic Bezier radius was invisible at rendered scale. 40px
creates visually smooth curves at 90-degree bends, making it easier to
trace edge paths through direction changes (especially corridor drops
and upward approaches to the End node).

Radius auto-clamps to min(lenIn/2.5, lenOut/2.5) for short segments.
Collector edges keep radius=0 (sharp orthogonal).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
master
2026-04-02 12:25:07 +03:00
parent a244043e12
commit c1db0c9237

View File

@@ -273,7 +273,7 @@ public sealed class WorkflowRenderSvgRenderer
}
}
var pathData = BuildRoundedEdgePath(renderPoints, offsetX, offsetY, renderedPath.IsCollector ? 0d : 12d);
var pathData = BuildRoundedEdgePath(renderPoints, offsetX, offsetY, renderedPath.IsCollector ? 0d : 40d);
var markerAttribute = string.IsNullOrWhiteSpace(renderedPath.MarkerId)
? string.Empty
: $" marker-end=\"{renderedPath.MarkerId}\"";