Skip to contents

Parses the line-oriented DSL used by c4_knitr_engine() and dispatches to the appropriate diagram builder.

Usage

c4_render_dsl(body, type = "context", title = "C4 Diagram", theme = "default")

Arguments

body

Character string containing the DSL body.

type

Diagram type: "context", "container", or "component".

title

Diagram title.

theme

Theme name.

Value

A DiagrammeR htmlwidget.