Skip to main content

build_dev_overlay_graph

Function build_dev_overlay_graph 

Source
pub fn build_dev_overlay_graph(
    text: &str,
    viewport: Size,
    node_id: NodeId,
) -> RenderGraph
Expand description

Build the dev-overlay graph: a translucent pill with the stats text in the top-right corner, sized with fixed monospace-ish metrics so the overlay never depends on renderer text measurement.