yangdx commited on
Commit
25d2520
·
1 Parent(s): fc69dc5

Increased graph layout iteration limits and defaults.

Browse files

- Raised max layout iterations to 30
- Set default iterations to 15

lightrag/api/webui/assets/{index-EWBvZgEb.js → index-C_HczF2h.js} RENAMED
Binary files a/lightrag/api/webui/assets/index-EWBvZgEb.js and b/lightrag/api/webui/assets/index-C_HczF2h.js differ
 
lightrag/api/webui/index.html CHANGED
Binary files a/lightrag/api/webui/index.html and b/lightrag/api/webui/index.html differ
 
lightrag_webui/src/components/graph/Settings.tsx CHANGED
@@ -294,7 +294,7 @@ export default function Settings() {
294
  <LabeledNumberInput
295
  label="Max Layout Iterations"
296
  min={1}
297
- max={20}
298
  value={graphLayoutMaxIterations}
299
  onEditFinished={setGraphLayoutMaxIterations}
300
  />
 
294
  <LabeledNumberInput
295
  label="Max Layout Iterations"
296
  min={1}
297
+ max={30}
298
  value={graphLayoutMaxIterations}
299
  onEditFinished={setGraphLayoutMaxIterations}
300
  />
lightrag_webui/src/stores/settings.ts CHANGED
@@ -81,7 +81,7 @@ const useSettingsStoreBase = create<SettingsState>()(
81
 
82
  graphQueryMaxDepth: 3,
83
  graphMinDegree: 0,
84
- graphLayoutMaxIterations: 10,
85
 
86
  queryLabel: defaultQueryLabel,
87
 
 
81
 
82
  graphQueryMaxDepth: 3,
83
  graphMinDegree: 0,
84
+ graphLayoutMaxIterations: 15,
85
 
86
  queryLabel: defaultQueryLabel,
87