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 static graph visualization powered by ggraph #464

Merged
merged 5 commits into from
Jul 8, 2018
Merged

Add static graph visualization powered by ggraph #464

merged 5 commits into from
Jul 8, 2018

Conversation

wlandau
Copy link
Member

@wlandau wlandau commented Jul 8, 2018

Summary

static_drake_graph() and render_static_drake_graph() now support static graph visualization powered by ggraph. The layout is kind of cramped, but with clusters, this is not so bad.

library(drake)
load_mtcars_example()
config <- drake_config(my_plan)
static_drake_graph(config)

gg

Related GitHub issues

Checklist

  • I have read drake's code of conduct, and I agree to follow its rules.
  • I have read the guidelines for contributing.
  • I have listed any substantial changes in the development news.
  • I have added testthat unit tests to tests/testthat to confirm that any new features or functionality work correctly.
  • I have tested this pull request locally with devtools::check()
  • This pull request is ready for review.
  • I think this pull request is ready to merge.

@codecov-io
Copy link

codecov-io commented Jul 8, 2018

Codecov Report

Merging #464 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #464   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          66     67    +1     
  Lines        5563   5628   +65     
=====================================
+ Hits         5563   5628   +65
Impacted Files Coverage Δ
R/drake_graph_info_utils.R 100% <ø> (ø) ⬆️
R/vis_drake_graph.R 100% <100%> (ø) ⬆️
R/static_drake_graph.R 100% <100%> (ø)
R/utils.R 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 962d624...9ab6bca. Read the comment docs.

@wlandau wlandau merged commit 6d3cc76 into master Jul 8, 2018
@wlandau wlandau deleted the ggdag branch July 8, 2018 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants