Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Sep 19, 2024
1 parent c2c54b5 commit 64bf784
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions dashboard/lib/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,28 +541,6 @@ export function generateDdlEdges(layoutMap: DdlBoxPosition[]): Edge[] {
target: parentId,
})
}

// TODO(kwannoel)
// Simply draw a horizontal line here.
// Typically, external parent is only applicable to `StreamScan` fragment,
// and there'll be only one external parent due to `UpstreamShard` distribution
// and plan node sharing. So we won't see multiple horizontal lines overlap each other.
// for (const externalParentId of ddl.externalParentIds) {
// links.push({
// points: [
// {
// x: fragment.x,
// y: fragment.y + fragment.height / 2,
// },
// {
// x: fragment.x + 100,
// y: fragment.y + fragment.height / 2,
// },
// ],
// source: fragment.id,
// target: externalParentId,
// })
// }
}
return links
}

0 comments on commit 64bf784

Please sign in to comment.