ArnoChen
commited on
Commit
·
681019f
1
Parent(s):
07eaad0
build webui
Browse files- lightrag/api/webui/assets/{index-DJ_PHzHf.js → index-DbuMPJAD.js} +0 -0
- lightrag/api/webui/assets/index-DrMerhud.css +0 -0
- lightrag/api/webui/assets/index-rP-YlyR1.css +0 -0
- lightrag/api/webui/index.html +0 -0
- lightrag_webui/src/components/graph/GraphControl.tsx +1 -1
- lightrag_webui/src/components/graph/LayoutsControl.tsx +1 -1
lightrag/api/webui/assets/{index-DJ_PHzHf.js → index-DbuMPJAD.js}
RENAMED
Binary files a/lightrag/api/webui/assets/index-DJ_PHzHf.js and b/lightrag/api/webui/assets/index-DbuMPJAD.js differ
|
|
lightrag/api/webui/assets/index-DrMerhud.css
DELETED
Binary file (47.2 kB)
|
|
lightrag/api/webui/assets/index-rP-YlyR1.css
ADDED
Binary file (47.5 kB). View file
|
|
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/GraphControl.tsx
CHANGED
@@ -26,7 +26,7 @@ const GraphControl = ({ disableHoverEffect }: { disableHoverEffect?: boolean })
|
|
26 |
const registerEvents = useRegisterEvents<NodeType, EdgeType>()
|
27 |
const setSettings = useSetSettings<NodeType, EdgeType>()
|
28 |
const loadGraph = useLoadGraph<NodeType, EdgeType>()
|
29 |
-
|
30 |
const maxIterations = useSettingsStore.use.graphLayoutMaxIterations()
|
31 |
const { assign: assignLayout } = useLayoutForceAtlas2({
|
32 |
iterations: maxIterations
|
|
|
26 |
const registerEvents = useRegisterEvents<NodeType, EdgeType>()
|
27 |
const setSettings = useSetSettings<NodeType, EdgeType>()
|
28 |
const loadGraph = useLoadGraph<NodeType, EdgeType>()
|
29 |
+
|
30 |
const maxIterations = useSettingsStore.use.graphLayoutMaxIterations()
|
31 |
const { assign: assignLayout } = useLayoutForceAtlas2({
|
32 |
iterations: maxIterations
|
lightrag_webui/src/components/graph/LayoutsControl.tsx
CHANGED
@@ -76,7 +76,7 @@ const LayoutsControl = () => {
|
|
76 |
const sigma = useSigma()
|
77 |
const [layout, setLayout] = useState<LayoutName>('Circular')
|
78 |
const [opened, setOpened] = useState<boolean>(false)
|
79 |
-
|
80 |
const maxIterations = useSettingsStore.use.graphLayoutMaxIterations()
|
81 |
|
82 |
const layoutCircular = useLayoutCircular()
|
|
|
76 |
const sigma = useSigma()
|
77 |
const [layout, setLayout] = useState<LayoutName>('Circular')
|
78 |
const [opened, setOpened] = useState<boolean>(false)
|
79 |
+
|
80 |
const maxIterations = useSettingsStore.use.graphLayoutMaxIterations()
|
81 |
|
82 |
const layoutCircular = useLayoutCircular()
|