From 681efe1d92f86a93b8d74e8096865787397aeb95 Mon Sep 17 00:00:00 2001 From: cocos02 Date: Sun, 14 Jun 2026 19:49:52 +0800 Subject: [PATCH] fix: increase editor Dagre nodesep to 100, align ranksep with TreeFlow --- editor/composables/useLayout.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/composables/useLayout.ts b/editor/composables/useLayout.ts index 481a880..72db0e0 100644 --- a/editor/composables/useLayout.ts +++ b/editor/composables/useLayout.ts @@ -21,8 +21,8 @@ export function computePositions( const g = new dagre.graphlib.Graph() g.setGraph({ rankdir: 'LR', - nodesep: 50, - ranksep: 240, + nodesep: 100, + ranksep: 200, marginx: 60, marginy: 60, })