瀏覽代碼

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 1 年之前
父節點
當前提交
169281958b
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      web/src/pages/flow/canvas/node/index.less
  2. 1
    1
      web/src/pages/flow/canvas/node/index.tsx

+ 1
- 1
web/src/pages/flow/canvas/node/index.less 查看文件

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

.handle {

+ 1
- 1
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}

Loading…
取消
儲存