From 774ad70b6179b57c4dcbc0f7da56c44f3bc1bbfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20G=C3=B6rtler?= Date: Fri, 20 Dec 2024 09:22:17 +0100 Subject: [PATCH] Show the `GraphNode` as a label by default (#8542) --- crates/viewer/re_view_graph/src/visualizers/nodes.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/viewer/re_view_graph/src/visualizers/nodes.rs b/crates/viewer/re_view_graph/src/visualizers/nodes.rs index 5c13da73385b..ce0a06fa7200 100644 --- a/crates/viewer/re_view_graph/src/visualizers/nodes.rs +++ b/crates/viewer/re_view_graph/src/visualizers/nodes.rs @@ -120,6 +120,10 @@ impl VisualizerSystem for NodeVisualizer { text: label.clone(), color, }, + (None, true) => Label::Text { + text: node.0 .0.clone(), + color, + }, _ => Label::Circle { // Radius is negative for UI radii, but we don't handle this here. radius: radius.unwrap_or(FALLBACK_RADIUS).abs(),