From 2b33664e8a1a3dab2e8ba124ee383aea2aac1ded Mon Sep 17 00:00:00 2001 From: junkisai Date: Thu, 12 Dec 2024 12:15:19 +0900 Subject: [PATCH] feat: add base value spacing for elk.layered algorithm --- .../ERDRenderer/ERDContent/useAutoLayout/getElkLayout.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/useAutoLayout/getElkLayout.ts b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/useAutoLayout/getElkLayout.ts index 17e181959..7527aad53 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/useAutoLayout/getElkLayout.ts +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/useAutoLayout/getElkLayout.ts @@ -8,6 +8,7 @@ import { convertNodesToElkNodes } from './convertNodesToElkNodes' const elk = new ELK() const layoutOptions: LayoutOptions = { 'elk.algorithm': 'org.eclipse.elk.layered', + 'elk.layered.spacing.baseValue': '32', } type Params = {