Expand description
Rendering overlays for graph visualization.
A GraphOverlay carries per-node execution facts (status, timing,
cache tier, health flags) that Graph::to_mermaid_with and
Graph::to_graphviz_with fold into the rendered diagram. The
overlay is pure data — computed elsewhere (e.g. soma-runtime’s
RunReader aggregates it from a run’s event log) and passed in, so
rendering stays a dependency-free data→string transform.
Structs§
- Graph
Overlay - Per-node annotations for one rendering, keyed by node id.
- Node
Overlay - Per-node annotation folded into the rendered label and style.
Enums§
- Node
Status - Execution outcome of a node, for status coloring.
Functions§
- format_
duration_ ms - Compact human duration:
340ms,1.2s,3.5m,2.1h.