flow/render/text

Source: src/flow/render/text.ts

A plan as text: the head line of the flow, then one line per plan line, indented under the line that holds it.

Every line starts with the glyph of a visit not made yet, the one a run view draws before ●, ✓ or ✗ replace it, so the plan reads as the first frame of a run.

showPlan

function

export function showPlan(plan: Plan): string { /* … */ }

plan as lines of text, pure.