pub fn validate_csr_queue_graph(
node_count: u32,
edge_offsets: &[u32],
edge_targets: &[u32],
edge_kind_mask: &[u32],
) -> Result<CsrQueueGraphLayout, String>Expand description
Validate the CSR graph consumed by queue-driven sparse traversal.
Returns the resident graph layout so dispatch wrappers can construct padded buffers without owning CSR validation locally.
ยงErrors
Returns an actionable diagnostic for zero-node graphs, malformed offsets, mismatched edge arrays, or out-of-range destinations.