Choreo.Sequence.Render.DOT (Choreo v0.9.0)

Copy Markdown View Source

Best-effort DOT renderer for Choreo.Sequence.

GraphViz has no native sequence-diagram concept, so this renderer emits a left-to-right timeline view: participants appear at the top, messages flow downward through numbered steps. It is useful for embedding sequence traces in PDF or static image pipelines, but it is not a formal UML sequence diagram.

Summary

Functions

to_dot(seq, opts \\ [])

@spec to_dot(
  Choreo.Sequence.t(),
  keyword()
) :: String.t()

Renders a Choreo.Sequence as a DOT graph.