Supplement / edit the default graph theme

supplementDefaultGraphTheme(
  graphTheme,
  defaultGraphTheme = metabefor::defaultGraphTheme()
)

Arguments

graphTheme

Changes, as a list with vectors, where each vector has three elements corresponding to field name, field value, and what to set that setting for, e.g. c("fontname", "Arial", "graph"), c("shape", "box", "node"), or c("dir", "none", "edge").

defaultGraphTheme

The default graph theme to use / supplement / edit.

Value

The supplemented / edited graph theme.

Examples

supplementDefaultGraphTheme(
  list(
    c("dir", "both", "edge")
  )
);
#> [[1]]
#> [1] "dir"  "both" "edge"
#> 
#> [[2]]
#> [1] "fontname" "Arial"    "graph"   
#> 
#> [[3]]
#> [1] "fontname" "Arial"    "node"    
#> 
#> [[4]]
#> [1] "fontname" "Arial"    "edge"    
#> 
#> [[5]]
#> [1] "layout" "dot"    "graph" 
#> 
#> [[6]]
#> [1] "rankdir" "LR"      "graph"  
#> 
#> [[7]]
#> [1] "outputorder" "edgesfirst"  "graph"      
#> 
#> [[8]]
#> [1] "fixedsize" "false"     "node"     
#> 
#> [[9]]
#> [1] "shape" "box"   "node" 
#> 
#> [[10]]
#> [1] "style"  "filled" "node"  
#> 
#> [[11]]
#> [1] "color"   "#000000" "node"   
#> 
#> [[12]]
#> [1] "color"   "#888888" "edge"   
#> 
#> [[13]]
#> [1] "headclip" "false"    "edge"    
#> 
#> [[14]]
#> [1] "tailclip" "false"    "edge"    
#> 
#> [[15]]
#> [1] "fillcolor" "#FFFFFF"   "node"     
#>