File tree 1 file changed +6
-3
lines changed
frontend/packages/erd-core/src/features/erd/utils/computeAutoLayout
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,14 @@ const layoutOptions: LayoutOptions = {
11
11
'elk.layered.spacing.baseValue' : '40' ,
12
12
'elk.spacing.componentComponent' : '80' ,
13
13
'elk.layered.spacing.edgeNodeBetweenLayers' : '120' ,
14
- 'elk.layered.considerModelOrder.strategy' : 'PREFER_EDGES' ,
15
- 'elk.layered.crossingMinimization.forceNodeModelOrder' : 'true' ,
14
+ 'elk.layered.considerModelOrder.strategy' : 'NODES_AND_EDGES' ,
15
+ 'elk.layered.considerModelOrder.components' : 'MODEL_ORDER' ,
16
+ 'elk.hierarchyHandling' : 'INCLUDE_CHILDREN' ,
16
17
'elk.layered.mergeEdges' : 'true' ,
17
- 'elk.layered.nodePlacement.strategy' : 'INTERACTIVE ' ,
18
+ 'elk.layered.nodePlacement.strategy' : 'BRANDES_KOEPF ' ,
18
19
'elk.layered.layering.strategy' : 'INTERACTIVE' ,
20
+ 'elk.direction' : 'RIGHT' ,
21
+ 'elk.layered.nodePlacement.favorStraightEdges' : 'true' ,
19
22
}
20
23
21
24
type Params = {
You can’t perform that action at this time.
0 commit comments