diff --git a/d2layouts/d2dagrelayout/layout.go b/d2layouts/d2dagrelayout/layout.go index ea23ec1d3..fd2423644 100644 --- a/d2layouts/d2dagrelayout/layout.go +++ b/d2layouts/d2dagrelayout/layout.go @@ -377,7 +377,6 @@ func Layout(ctx context.Context, g *d2graph.Graph, opts *ConfigurableOpts) (err } if isSrcDesc && isDstDesc { stepSize := subtract - // loops if e.Src != obj || e.Dst != obj { stepSize /= 2. }