From ef70f5013a295f7457d265abf688362f7158a7bd Mon Sep 17 00:00:00 2001 From: LPeter1997 Date: Thu, 21 Sep 2023 10:34:14 +0200 Subject: [PATCH] Update TimelineGraph.tsx --- src/Draco.Trace.Visualizer/src/TimelineGraph.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx b/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx index 257205e70..5fbb0921c 100644 --- a/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx +++ b/src/Draco.Trace.Visualizer/src/TimelineGraph.tsx @@ -40,7 +40,8 @@ const TimelineGraph = (props: Props) => { const allNodes = svg .selectAll('g') .data(messageHierarchy.descendants()) - .join('g'); + .enter() + .append('g'); allNodes .append('rect')