Skip to content

Commit

Permalink
Show the GraphNode as a label by default (#8542)
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr authored Dec 20, 2024
1 parent cee46d6 commit 774ad70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/viewer/re_view_graph/src/visualizers/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 774ad70

Please sign in to comment.