Skip to content

Commit

Permalink
Merge branch 'main' into xxchan/remove-receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan authored Oct 29, 2024
2 parents 34b91c6 + 193e93f commit 28c1465
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
1 change: 1 addition & 0 deletions ci/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ steps:
retry: *auto-retry

- label: "generate notification step"
if: build.env("ENABLE_DOCKER_SCOUT") == "true"
depends_on:
- "docker-scout"
command: ci/scripts/docker-scout-notify.sh
30 changes: 0 additions & 30 deletions dashboard/lib/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,33 +516,3 @@ export function generateFragmentEdges(
}
return links
}

export function generateRelationBackPressureEdges(
layoutMap: RelationBoxPosition[]
): Edge[] {
const links = []
const relationMap = new Map<string, RelationBoxPosition>()
for (const x of layoutMap) {
relationMap.set(x.id, x)
}
for (const relation of layoutMap) {
for (const parentId of relation.parentIds) {
const parentRelation = relationMap.get(parentId)!
links.push({
points: [
{
x: relation.x + relation.width / 2,
y: relation.y + relation.height / 2,
},
{
x: parentRelation.x + parentRelation.width / 2,
y: parentRelation.y + parentRelation.height / 2,
},
],
source: relation.id,
target: parentId,
})
}
}
return links
}

0 comments on commit 28c1465

Please sign in to comment.