# Query all options
caugi_options()
# Query specific option
caugi_options("plot")
# Set plot spacing
caugi_options(plot = list(spacing = grid::unit(2, "lines")))
# Set default node style
caugi_options(plot = list(
node_style = list(fill = "lightblue", padding = 3)
))
# Set multiple options at once
caugi_options(plot = list(
spacing = grid::unit(1.5, "lines"),
node_style = list(fill = "lightblue", padding = 3),
edge_style = list(arrow_size = 4, fill = "darkgray"),
title_style = list(col = "blue", fontsize = 16)
))
# Reset to defaults
caugi_options(caugi_default_options())
Run the code above in your browser using DataLab