This commit is contained in:
Alexander Wang 2023-02-10 14:28:52 -08:00
parent 279b82b5c6
commit 2e5612697f
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -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.
}