Description Usage Arguments Value Examples
Apply multiple DiagrammeR global graph attributes
1 | apply_graph_theme(dctGraph, ...)
|
dctGraph |
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 ( |
The DiagrammeR::DiagrammeR graph.
1 2 3 4 5 | parsedSpecs <- load_dct_specs(text=dct::example_dct_spec);
dctGraph <- parsedSpecs$output$basic_graph;
dctGraph <- apply_graph_theme(dctGraph,
c("color", "#0000AA", "node"),
c("fillcolor", "#00FFFF", "node"));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.