pub fn build_graph(detail: &DiagnosticsRoomDetail) -> ValueExpand description
Build the Grafana node graph payload for a single room detail response.
The returned JSON has two top-level arrays:
nodescontains the room, live sessions, publication sources and any missing source placeholders needed by subscription edges.edgescontains membership edges, publication upload edges and download subscription edges.
This function is compatibility-shaped around Grafana’s node graph field
names. Domain code should keep using DiagnosticsRoomDetail.