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

### What problem does this PR solve?

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

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu 2024-06-12 11:42:48 +08:00 committed by GitHub
parent abcd3d2469
commit 169281958b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
} }
} }
.selectedNode { .selectedNode {
border-color: #1677ff; border: 1px solid rgb(59, 118, 244);
} }
.handle { .handle {

View File

@ -38,7 +38,7 @@ export function TextUpdaterNode({
</Handle> </Handle>
<Handle type="source" position={Position.Bottom} id="a" isConnectable /> <Handle type="source" position={Position.Bottom} id="a" isConnectable />
<div> <div>
<Space> <Space size={4}>
<OperatorIcon <OperatorIcon
name={data.label as Operator} name={data.label as Operator}
fontSize={12} fontSize={12}