apply_graph_theme.Rd
Apply multiple DiagrammeR global graph attributes
apply_graph_theme(graph, ...)
The DiagrammeR::DiagrammeR graph to apply the attributes to.
One or more character vectors of length three, where the first element is
the attribute, the second the value, and the third, the attribute type (graph
,
node
, or edge
).
The DiagrammeR::DiagrammeR graph.
### Dus
#miniGraph <-
# apply_graph_theme(data.tree::ToDiagrammeRGraph(parsedSource$deductiveCodeTrees),
# c("color", "#0000AA", "node"),
# c("shape", "triangle", "node"),
# c("fontcolor", "#FF0000", "node"));
# \donttest{
# DiagrammeR::render_graph(miniGraph);
# }