From 00e05a12b03971b321be5d1da8bfe57ff2e09167 Mon Sep 17 00:00:00 2001 From: yangdx Date: Tue, 18 Mar 2025 11:26:39 +0800 Subject: [PATCH] Adjust layout noverlap margin and grid size. --- lightrag_webui/src/components/graph/LayoutsControl.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag_webui/src/components/graph/LayoutsControl.tsx b/lightrag_webui/src/components/graph/LayoutsControl.tsx index d7938d74..2f0cc50a 100644 --- a/lightrag_webui/src/components/graph/LayoutsControl.tsx +++ b/lightrag_webui/src/components/graph/LayoutsControl.tsx @@ -206,9 +206,9 @@ const LayoutsControl = () => { const layoutNoverlap = useLayoutNoverlap({ maxIterations: maxIterations, settings: { - margin: 2, + margin: 5, expansion: 1.1, - gridSize: 5, + gridSize: 1, ratio: 1, speed: 3, }