pub fn render_trace(
trace: &TraceReport,
state: Option<usize>,
format: DiagramFormat,
) -> StringExpand description
Renders a TraceReport (one state if state is Some, or every state
as a subgraph with step labels if state is None).