Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
srdjan-harness committed Dec 10, 2024
1 parent af4663b commit a962365
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const processStages = (stages: any[], currentPath: string, options: { selectedPa
yamlPath: path,
name
} satisfies StageNodeContentType,

children: processStages(stage[groupKey].stages, path, options)
} satisfies SerialNodeType
} else if (groupKey === 'parallel') {
Expand Down
10 changes: 0 additions & 10 deletions packages/pipeline-graph/src/utils/connects-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ import { AnyNodeInternal } from '../types/nodes-internal'

export function connectPorts(
nodes: AnyNodeInternal[],
// connections: {
// source: string
// target: string
// parallel?: { position: 'left' | 'right' }
// serial?: {
// position: 'left' | 'right'
// }
// }[],
parent: { left: string; right: string },
isParallel: boolean = false
) {
Expand Down Expand Up @@ -68,8 +60,6 @@ export function connectPorts(
if (node.containerType === 'serial' || node.containerType === 'parallel') {
const childrenConnections = connectPorts(
node.children,
// connections,
// portAdjustment,
{ left: nodeLeftPort, right: nodeRightPort },
node.containerType === 'parallel'
)
Expand Down

0 comments on commit a962365

Please sign in to comment.