R/plot_class_diagram.R

Defines functions plot_class_diagram

plot_class_diagram <- function() {
  str_grViz <- create_class_diagram()
  str_grViz <- paste(
    "
      digraph G {
        node [
          shape = 'record'
        ]
    ", str_grViz, "}")
  DiagrammeR::grViz(str_grViz)
}
andreash0/R6ClassDiagrams documentation built on Jan. 30, 2022, 12:34 a.m.