diff --git a/d2layouts/d2cycle/layout.go b/d2layouts/d2cycle/layout.go index ef2e9a4f2..084657af9 100644 --- a/d2layouts/d2cycle/layout.go +++ b/d2layouts/d2cycle/layout.go @@ -117,7 +117,7 @@ func createCircularArc(edge *d2graph.Edge) { tangentX /= mag tangentY /= mag } - const MIN_SEGMENT_LEN = 3.9999999999 + const MIN_SEGMENT_LEN = 4.0 dx := lastPoint.X - secondLastPoint.X dy := lastPoint.Y - secondLastPoint.Y