From 949bafa8773894bd644070217d6cb8eea4433705 Mon Sep 17 00:00:00 2001 From: Googler Date: Thu, 19 Dec 2024 00:18:46 -0800 Subject: [PATCH] Show execution count as a group label if exists ### Why This is for rendering a custom group label for displaying execution count per execution node, especially for async runs with large number of nodes. ### Testing * Screenshot: https://screenshot.googleplex.com/7t9pqYsdpRSAbiA PiperOrigin-RevId: 707809922 --- src/app/directed_acyclic_graph_raw.ng.html | 7 ++++--- src/app/directed_acyclic_graph_raw.ts | 8 +++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/app/directed_acyclic_graph_raw.ng.html b/src/app/directed_acyclic_graph_raw.ng.html index 3e0fd10..3bf4fb3 100644 --- a/src/app/directed_acyclic_graph_raw.ng.html +++ b/src/app/directed_acyclic_graph_raw.ng.html @@ -385,15 +385,16 @@ This causes the DAG to open up, fade-in the label before hiding it, which looks very glitchy --> - - {{ getIterationsFor(group).length }} iterations - @if (showGroupLabel(group)) {
{{ group.groupLabel }}
+ } @else if (group.treatAsLoop) { + + {{ getIterationsFor(group).length }} iterations + }