Increased graph layout iteration limits and defaults.

- Raised max layout iterations to 30
- Set default iterations to 15
This commit is contained in:
yangdx
2025-03-12 09:30:28 +08:00
parent e0463ede3c
commit 24418a04fe
4 changed files with 5 additions and 5 deletions

View File

@@ -294,7 +294,7 @@ export default function Settings() {
<LabeledNumberInput
label="Max Layout Iterations"
min={1}
max={20}
max={30}
value={graphLayoutMaxIterations}
onEditFinished={setGraphLayoutMaxIterations}
/>

View File

@@ -81,7 +81,7 @@ const useSettingsStoreBase = create<SettingsState>()(
graphQueryMaxDepth: 3,
graphMinDegree: 0,
graphLayoutMaxIterations: 10,
graphLayoutMaxIterations: 15,
queryLabel: defaultQueryLabel,