fix: increase ranksep to 200 for wider horizontal spacing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user