datamodelr icon indicating copy to clipboard operation
datamodelr copied to clipboard

Add title?

Open DataStrategist opened this issue 7 years ago • 0 comments

just like https://github.com/rich-iannone/DiagrammeR/issues/182

I think that this:

library(DiagrammeR)

graph <- 
  create_graph() %>%
  add_n_nodes(2) %>%
  add_edge(1, 2)

graph %>% render_graph(title = "The Graph Title")

adds a title to the graph. Would it be possible to extend that functionality to dm_render_graph? Especially because it seems that dm_render_graph has a property called graph_name... but that's only used for a mouseover effect, it would make sense to export that to title, no?

DataStrategist avatar Dec 14 '18 16:12 DataStrategist