RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: The right coordinates of Categorize and Switch operators are misplaced #3868 (#3869)
balibabua88a1848ffee
diff --git a/web/src/components/editable-cell.tsx b/web/src/components/editable-cell.tsxindex ff5092ef3f..85f5610b8d 100644--- a/web/src/components/editable-cell.tsx+++ b/web/src/components/editable-cell.tsx@@ -90,11 +90,7 @@ export const EditableCell: React.FC<EditableCellProps> = ({<Input ref={inputRef} onPressEnter={save} onBlur={save} /></Form.Item>) : (- <div- className="editable-cell-value-wrap"- // style={{ paddingRight: 24 }}- onClick={toggleEdit}- >+ <div onClick={toggleEdit} className="truncate"><Text>{children}</Text></div>);diff --git a/web/src/pages/flow/canvas/node/hooks.ts b/web/src/pages/flow/canvas/node/hooks.tsindex a2bdf0586a..ce11dc6faf 100644--- a/web/src/pages/flow/canvas/node/hooks.ts+++ b/web/src/pages/flow/canvas/node/hooks.ts@@ -35,7 +35,7 @@ export const useBuildCategorizeHandlePositions = ({list.push({text: x,idx,- top: idx === 0 ? 98 : list[idx - 1].top + 8 + 26,+ top: idx === 0 ? 98 + 20 : list[idx - 1].top + 8 + 26,});});@@ -71,7 +71,7 @@ export const useBuildSwitchHandlePositions = ({}> = [];[...conditions, ''].forEach((x, idx) => {- let top = idx === 0 ? 58 : list[idx - 1].top + 32; // case number (Case 1) height + flex gap+ let top = idx === 0 ? 58 + 20 : list[idx - 1].top + 32; // case number (Case 1) height + flex gapif (idx - 1 >= 0) {const previousItems = conditions[idx - 1]?.items ?? [];if (previousItems.length > 0) {diff --git a/web/src/pages/flow/canvas/node/relevant-node.tsx b/web/src/pages/flow/canvas/node/relevant-node.tsxindex 5e22517591..c79551d9e5 100644--- a/web/src/pages/flow/canvas/node/relevant-node.tsx+++ b/web/src/pages/flow/canvas/node/relevant-node.tsx@@ -33,7 +33,7 @@ export function RelevantNode({ id, data, selected }: NodeProps<NodeData>) {isConnectableclassName={styles.handle}id={'yes'}- style={{ ...RightHandleStyle, top: 59 }}+ style={{ ...RightHandleStyle, top: 57 + 20 }}></Handle><Handletype="source"@@ -41,7 +41,7 @@ export function RelevantNode({ id, data, selected }: NodeProps<NodeData>) {isConnectableclassName={styles.handle}id={'no'}- style={{ ...RightHandleStyle, top: 112 }}+ style={{ ...RightHandleStyle, top: 115 + 20 }}></Handle><NodeHeaderid={id}