Skip to content

Commit 3a7afe7

Browse files
committed
Update PipelineGraphLayout.ts
1 parent d5e4ffc commit 3a7afe7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/frontend/pipeline-graph-view/pipeline-graph/main/PipelineGraphLayout.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,11 @@ function positionNodes(
259259
// Advance X position
260260
if (previousTopNode.isPlaceholder || topNode.isPlaceholder) {
261261
// Don't space placeholder nodes (start/end) as wide as normal.
262-
xp += Math.floor(nodeSpacingH * 0.7);
262+
if (topNode.key === "counter-node") {
263+
xp += nodeSpacingH;
264+
} else {
265+
xp += Math.floor(nodeSpacingH * 0.7);
266+
}
263267
} else {
264268
xp += nodeSpacingH;
265269
}

0 commit comments

Comments
 (0)