Skip to content

Commit 619e3d2

Browse files
committed
Fix ELK options types
According to their own typings, LayoutOptions is a string->string record
1 parent 3e1ac54 commit 619e3d2

File tree

1 file changed

+2
-2
lines changed
  • rust/cubesql/cubesql/egraph-debug-template/src

1 file changed

+2
-2
lines changed

rust/cubesql/cubesql/egraph-debug-template/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ function layout(
6666
) {
6767
const defaultOptions = {
6868
'elk.algorithm': 'layered',
69-
'elk.layered.spacing.nodeNodeBetweenLayers': 100,
70-
'elk.spacing.nodeNode': 80,
69+
'elk.layered.spacing.nodeNodeBetweenLayers': '100',
70+
'elk.spacing.nodeNode': '80',
7171
'org.eclipse.elk.hierarchyHandling': 'INCLUDE_CHILDREN',
7272
'elk.direction': 'DOWN',
7373
};

0 commit comments

Comments
 (0)