Function creating a diagram object from tibbles specifying nodes, relations, and moderations.

draw_diagram(nodes, relations, moderations)

Arguments

nodes

Tibble. Nodes with their properties.

relations

Tibble. Edges with their properties.

moderations

Tibble. Moderations with their properties.

Value

A DiagrammeR object ready for rendering.

Author

Nicolas Mangin