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:
@@ -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)
|
var markerAttribute = string.IsNullOrWhiteSpace(renderedPath.MarkerId)
|
||||||
? string.Empty
|
? string.Empty
|
||||||
: $" marker-end=\"{renderedPath.MarkerId}\"";
|
: $" marker-end=\"{renderedPath.MarkerId}\"";
|
||||||
|
|||||||
Reference in New Issue
Block a user