Disable bridge gaps at edge crossings
The white "cut" marks at edge crossings are distracting at small rendering scales and make edges look broken/disconnected. Simple overlapping crossings are cleaner and more readable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -232,7 +232,10 @@ public sealed class WorkflowRenderSvgRenderer
|
|||||||
edgeLabels));
|
edgeLabels));
|
||||||
}
|
}
|
||||||
|
|
||||||
var bridgeGapsByPathIndex = ResolveBridgeGaps(renderedPaths);
|
// Bridge gaps disabled: the white "cut" marks at edge crossings are
|
||||||
|
// distracting at small rendering scales. Simple overlapping crossings
|
||||||
|
// are cleaner and more readable.
|
||||||
|
var bridgeGapsByPathIndex = new Dictionary<int, List<BridgeGap>>();
|
||||||
for (var pathIndex = 0; pathIndex < renderedPaths.Count; pathIndex++)
|
for (var pathIndex = 0; pathIndex < renderedPaths.Count; pathIndex++)
|
||||||
{
|
{
|
||||||
if (bridgeGapsByPathIndex.TryGetValue(pathIndex, out var bridgeGaps))
|
if (bridgeGapsByPathIndex.TryGetValue(pathIndex, out var bridgeGaps))
|
||||||
|
|||||||
Reference in New Issue
Block a user