Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add title? #10

Open
DataStrategist opened this issue Dec 14, 2018 · 0 comments
Open

Add title? #10

DataStrategist opened this issue Dec 14, 2018 · 0 comments

Comments

@DataStrategist
Copy link

just like rich-iannone/DiagrammeR#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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant