flowrep.retrospective.viewer module

Viewer helpers for retrospective data objects.

Provides a notebook-friendly JSON view and a plain-text fallback.

flowrep.retrospective.viewer.view(data: NodeData, *, expanded: bool = False)[source]

Display data as structured JSON when IPython is available, otherwise return a plain-text representation.