Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat: when a node of the graph is selected, the border of the node is highlighted. #918 (#1125)

balibabu169281958bf1
diff --git a/web/src/pages/flow/canvas/node/index.less b/web/src/pages/flow/canvas/node/index.less
index 54251cf29c..855e9b5e7b 100644
--- a/web/src/pages/flow/canvas/node/index.less
+++ b/web/src/pages/flow/canvas/node/index.less
@@ -15,7 +15,7 @@
}
}
.selectedNode {
- border-color: #1677ff;
+ border: 1px solid rgb(59, 118, 244);
}
.handle {
diff --git a/web/src/pages/flow/canvas/node/index.tsx b/web/src/pages/flow/canvas/node/index.tsx
index 9496c63b06..eb9a2095e3 100644
--- a/web/src/pages/flow/canvas/node/index.tsx
+++ b/web/src/pages/flow/canvas/node/index.tsx
@@ -38,7 +38,7 @@ export function TextUpdaterNode({
</Handle>
<Handle type="source" position={Position.Bottom} id="a" isConnectable />
<div>
- <Space>
+ <Space size={4}>
<OperatorIcon
name={data.label as Operator}
fontSize={12}