Feat: replace min_degree with max_nodes in webui
This commit is contained in:
@@ -221,9 +221,9 @@ axiosInstance.interceptors.response.use(
|
||||
export const queryGraphs = async (
|
||||
label: string,
|
||||
maxDepth: number,
|
||||
minDegree: number
|
||||
maxNodes: number
|
||||
): Promise<LightragGraphType> => {
|
||||
const response = await axiosInstance.get(`/graphs?label=${encodeURIComponent(label)}&max_depth=${maxDepth}&min_degree=${minDegree}`)
|
||||
const response = await axiosInstance.get(`/graphs?label=${encodeURIComponent(label)}&max_depth=${maxDepth}&max_nodes=${maxNodes}`)
|
||||
return response.data
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user