qd_themes: Diagram themes

View source: R/themes.R

qd_themesR Documentation

Diagram themes

Description

Apply various pre-fabricated themes to diagrams.

Usage

qd_themes(graph.obj, theme, ...)

theme_base(graph.obj, font = "serif", ...)

theme_circles(graph.obj, font = "serif", ...)

theme_dots(graph.obj, font = "serif", ...)

get_conditioned_nodes(graph.obj, conditioned = NULL)

Arguments

graph.obj

A DAG object created by qd_dag().

theme

A character string indicating the theme to use. Defaults to "base". Set to NULL to use GraphViz defaults.

...

Pass arguments to theme call (e.g., theme_base()), such as conditioned or font

font

A character vector indicating the font family to use for node labels. Defaults to "serif".

conditioned

A character vector indicating which nodes are conditioned upon. The shape for these nodes will be set to "square".


jrgant/quickDAG documentation built on Feb. 15, 2023, 3:20 a.m.