Skip to main content

Crate graph_explorer_render

Crate graph_explorer_render 

Source

Structs§

Camera
CameraUniform
EdgeLineData
One edge to draw (world-space endpoints).
HaloInstanceData
One halo to draw (world-space, around a node).
HitTarget
One thing on screen that a pointer can hit. Identity is the interned NodeIndex; kind was classified once at intern time, replacing the per-pick string prefix tests.
LabelDraw
One label the caller selected for drawing this frame (LOD survivor). key is the interned LabelId; text is only read on cache miss.
NodeInstanceData
One node to draw.
Renderer

Functions§

contains
Whether point (world space) falls inside t’s drawn shape, widened by tolerance world units. The shape maths must match what the renderer draws, or the clickable area disagrees with the visible one.
pick
The topmost hittable target at point, or None — returned as a slot into targets so the caller resolves identity however it likes.