Pārlūkot izejas kodu

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)
tags/v0.8.0
balibabu pirms 1 gada
vecāks
revīzija
169281958b
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 1
- 1
web/src/pages/flow/canvas/node/index.less Parādīt failu

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


.handle { .handle {

+ 1
- 1
web/src/pages/flow/canvas/node/index.tsx Parādīt failu

</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}

Notiek ielāde…
Atcelt
Saglabāt