Skip to content

Commit 0c46743

Browse files
akuitybotMarvin9
andauthored
chore(backport release-1.3): fix(ui): graph edge glitch (#3615)
Co-authored-by: Mayursinh Sarvaiya <[email protected]>
1 parent 8d5db47 commit 0c46743

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ui/src/features/project/pipelines/graph.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export const Graph = memo((props: GraphProps) => {
8181
minZoom={0.1}
8282
nodesConnectable={false}
8383
nodesDraggable={false}
84+
proOptions={{ hideAttribution: true }}
8485
>
8586
<Controls />
8687
</ReactFlow>

ui/src/features/project/pipelines/nodes/custom-node.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ CustomNode.Container = (props: PropsWithChildren<{ stage?: Stage; warehouse?: Wa
9191
type='target'
9292
position={Position.Left}
9393
style={{
94-
backgroundColor: 'transparent'
94+
backgroundColor: 'transparent',
95+
top: '48%'
9596
}}
9697
/>
9798
<div className={styles.container}>{props.children}</div>
@@ -100,7 +101,8 @@ CustomNode.Container = (props: PropsWithChildren<{ stage?: Stage; warehouse?: Wa
100101
type='source'
101102
position={Position.Right}
102103
style={{
103-
backgroundColor: 'transparent'
104+
backgroundColor: 'transparent',
105+
top: '48%'
104106
}}
105107
/>
106108
</>

0 commit comments

Comments
 (0)