From a65aaac61ba3742ac27feb0adcb15443c9c40bc3 Mon Sep 17 00:00:00 2001 From: Benedikt Willi Date: Tue, 13 Jan 2026 14:24:00 +0100 Subject: [PATCH] Enhance DOM graph visualization to support PNG images and improve legend display --- assets/pages/dom_graph.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/pages/dom_graph.html b/assets/pages/dom_graph.html index 59b1b8b..02234ed 100644 --- a/assets/pages/dom_graph.html +++ b/assets/pages/dom_graph.html @@ -179,7 +179,7 @@
{{ error }}
- {% elif is_svg %} + {% elif is_svg or is_png %}

Color Legend

@@ -210,8 +210,12 @@
-
+
+ {% if is_png %} + DOM Graph + {% else %} {{ graph_content|safe }} + {% endif %}
{% else %}