diff --git a/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte b/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte index f95f393728..91f4d5a0b9 100644 --- a/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte +++ b/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte @@ -39,24 +39,31 @@ const showExpandIcon = $derived( !isRootWorkflow && $showFullTree && childrenCount, ); + + const Glyph = $derived(expanded ? IconHyphen : IconAdd);
-
-
+
+
-
+
{#if isRootWorkflow}

{translate('common.type')}

{/if}

{workflow.name}

-
+
{#if isRootWorkflow}

{translate('common.id')}

{/if} @@ -72,7 +79,7 @@
{#if $showFullTree} -
+
{#if isRootWorkflow}

{translate('common.child-count')}

{/if} @@ -81,7 +88,10 @@
{/if} - - {#if showExpandIcon} - {@const Glyph = expanded ? IconHyphen : IconAdd} - - {/if} +
diff --git a/src/lib/components/workflow/relationships/workflow-family-node-description-tree.svelte b/src/lib/components/workflow/relationships/workflow-family-node-description-tree.svelte index 66e66b5328..3756b510b5 100644 --- a/src/lib/components/workflow/relationships/workflow-family-node-description-tree.svelte +++ b/src/lib/components/workflow/relationships/workflow-family-node-description-tree.svelte @@ -23,9 +23,10 @@ }: Props = $props(); -{#each root?.children as child} +{#each root?.children as child, index} void; activeWorkflow?: WorkflowExecution | undefined; openRuns: Map; @@ -20,6 +21,7 @@ root, expandAll, generation = 0, + lastChild = false, onNodeClick, activeWorkflow = undefined, openRuns, @@ -44,22 +46,23 @@ }; -
+
diff --git a/src/lib/components/workflow/relationships/workflow-family-tree.svelte b/src/lib/components/workflow/relationships/workflow-family-tree.svelte index bc6f635ac0..aed3146b2e 100644 --- a/src/lib/components/workflow/relationships/workflow-family-tree.svelte +++ b/src/lib/components/workflow/relationships/workflow-family-tree.svelte @@ -58,9 +58,11 @@ }; -
+
+ + diff --git a/src/lib/holocene/zoom-svg.svelte b/src/lib/holocene/zoom-svg.svelte index 46cf3e2da9..224d702983 100644 --- a/src/lib/holocene/zoom-svg.svelte +++ b/src/lib/holocene/zoom-svg.svelte @@ -196,7 +196,7 @@
{#if pannable} - +