From b8be50e2196410fc8155aed7630bfddd1408b62c Mon Sep 17 00:00:00 2001 From: Kristina Durivage Date: Wed, 1 May 2024 14:46:46 -0500 Subject: [PATCH] Only let nodeGraph frames process through nodeGraph --- public/app/plugins/panel/nodeGraph/useCategorizeFrames.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/app/plugins/panel/nodeGraph/useCategorizeFrames.ts b/public/app/plugins/panel/nodeGraph/useCategorizeFrames.ts index 7b815a1d698..4dec2209afb 100644 --- a/public/app/plugins/panel/nodeGraph/useCategorizeFrames.ts +++ b/public/app/plugins/panel/nodeGraph/useCategorizeFrames.ts @@ -11,6 +11,8 @@ import { getGraphFrame } from './utils'; */ export function useCategorizeFrames(series: DataFrame[]) { return useMemo(() => { - return getGraphFrame(series); + return getGraphFrame( + series.filter((singleSeries) => singleSeries.meta?.preferredVisualisationType === 'nodeGraph') + ); }, [series]); }