Refactor ElkSharp hybrid routing and document speed path
This commit is contained in:
@@ -1585,6 +1585,7 @@ internal static partial class ElkEdgePostProcessor
|
||||
return path.Count >= 2
|
||||
&& !ElkShapeBoundaries.IsInsideNodeBoundingBoxInterior(targetNode, path[^2])
|
||||
&& !HasExcessiveGatewayDiagonalLength(path, targetNode)
|
||||
&& !HasShortGatewayTargetOrthogonalHook(path, targetNode)
|
||||
&& ElkShapeBoundaries.HasValidGatewayBoundaryAngle(targetNode, path[^1], path[^2]);
|
||||
}
|
||||
|
||||
@@ -2616,4 +2617,4 @@ internal static partial class ElkEdgePostProcessor
|
||||
return CloneEdgeWithKind(edge, AppendInternalKindMarker(edge.Kind, ProtectedUnderNodeKindMarker));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user