From 43bf7d2d81e610b37f957c50985e8a54ad5dfa55 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Wed, 30 Sep 2026 12:09:24 +0200 Subject: [PATCH] fix: taller pipeline nodes, with the asset + back on the node's edge Co-Authored-By: Claude Opus 5.5 (1M context) --- .../assets/AssetGraph/AssetNode.svelte | 65 +++++++++---------- .../assets/AssetGraph/assetGraphLayout.ts | 2 +- 2 files changed, 31 insertions(+), 36 deletions(-) diff --git a/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte b/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte index 6a35a09203..ec468d53dc 100644 --- a/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte +++ b/frontend/src/lib/components/assets/AssetGraph/AssetNode.svelte @@ -406,30 +406,26 @@ {/if} {#if showAdd} - -
-
-
- - {#snippet trigger()} - +
+ + {#snippet trigger()} + - - {/snippet} - -
+ + {/snippet} +
{/if}
diff --git a/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts b/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts index 09c37cd742..2a5a0883a9 100644 --- a/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts +++ b/frontend/src/lib/components/assets/AssetGraph/assetGraphLayout.ts @@ -9,7 +9,7 @@ const NODE_WIDTH = NODE.width const NODE_HEIGHT = NODE.height + 30 /** Rendered height of a pipeline node: a kind label over a title. Fits inside * the `NODE_HEIGHT` row the layout reserves. */ -export const PIPELINE_NODE_HEIGHT = 44 +export const PIPELINE_NODE_HEIGHT = 48 const LAYER_GAP = NODE.gap.vertical const SIBLING_GAP = NODE.gap.horizontal // Horizontal gutter between two disjoint subgraphs. Wider than the