diff --git a/packages/ui/src/components/Visualization/Canvas/canvas.service.ts b/packages/ui/src/components/Visualization/Canvas/canvas.service.ts index 8d1710077..d08d876b5 100644 --- a/packages/ui/src/components/Visualization/Canvas/canvas.service.ts +++ b/packages/ui/src/components/Visualization/Canvas/canvas.service.ts @@ -81,7 +81,7 @@ export class CanvasService { case LayoutType.Concentric: return new ConcentricLayout(graph); case LayoutType.Dagre: - return new DagreLayout(graph, { rankdir: 'TB' }); + return new DagreLayout(graph, { rankdir: 'TB', nodesep: 20, ranksep: 0 }); case LayoutType.Force: return new ForceLayout(graph); case LayoutType.Grid: