Skip to contents

Produces a modern, interactive node-link diagram using a dagre (hierarchical) layout. Nodes are card-style, colored by category, labelled with the step verb and a plain-language description; edges carry state-change badges.

Usage

render_g6(
  graph,
  direction = c("TB", "LR", "BT", "RL"),
  theme = c("light", "dark"),
  height = NULL,
  width = "100%"
)

Arguments

graph

A gdalviz_graph from pipeline_graph().

direction

Layout direction: "TB" (default), "LR", "BT", "RL".

theme

"light" or "dark".

height, width

Widget dimensions.

Value

A g6 htmlwidget.