fix: increase ranksep to 200 for wider horizontal spacing

This commit is contained in:
2026-06-14 12:21:32 +08:00
parent d2b1d88ce3
commit 4d066b53bf

View File

@@ -115,7 +115,7 @@ function buildFlow(root: PlayerTreeNode) {
if (dagreNodes.length === 0) return
const g = new dagre.graphlib.Graph()
g.setGraph({ rankdir: 'LR', nodesep: 60, ranksep: 140, marginx: 24, marginy: 24 })
g.setGraph({ rankdir: 'LR', nodesep: 60, ranksep: 200, marginx: 24, marginy: 24 })
g.setDefaultEdgeLabel(() => ({}))
const baseW = 128