cat_custom_diagram | R Documentation |
More custom features passed onto cli::cat_boxx
by each node in a diagram.
cat_custom_diagram( flow, ..., border_style = "single", padding = 1, margin = 0, float = c("left", "center", "right"), col = NULL, background_col = NULL, border_col = col, align = c("left", "center", "right"), width = cli::console_width() )
flow |
String that alternates between a box label and arrows beginning
with either |
... |
A list named by the string representing a node in the
|
Example of a named list of customizations passed to the function:
flow <- "Test Custom Box -> Test Custom Box 2 -> Test Custom Box 3" cat_custom_diagram( flow = flow, 'Test Custom Box 2' = list(header = "Database"), 'Test Custom Box 3' = list(border_style = "single-double"))
console_width
,cat_line
list2
,parse_expr
transpose
,map
capture.output
glue
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.