fix: increase TreeFlow ranksep and nodesep for less crowded layout
This commit is contained in:
@@ -115,7 +115,7 @@ function buildFlow(root: PlayerTreeNode) {
|
|||||||
if (dagreNodes.length === 0) return
|
if (dagreNodes.length === 0) return
|
||||||
|
|
||||||
const g = new dagre.graphlib.Graph()
|
const g = new dagre.graphlib.Graph()
|
||||||
g.setGraph({ rankdir: 'LR', nodesep: 40, ranksep: 80, marginx: 24, marginy: 24 })
|
g.setGraph({ rankdir: 'LR', nodesep: 60, ranksep: 140, marginx: 24, marginy: 24 })
|
||||||
g.setDefaultEdgeLabel(() => ({}))
|
g.setDefaultEdgeLabel(() => ({}))
|
||||||
|
|
||||||
const baseW = 128
|
const baseW = 128
|
||||||
|
|||||||
Reference in New Issue
Block a user