Skip to content

Commit

Permalink
add ...
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Mar 16, 2024
1 parent 0d19281 commit 68b8978
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions R/lazyframe__lazy.R
Original file line number Diff line number Diff line change
Expand Up @@ -1961,6 +1961,7 @@ LazyFrame_group_by_dynamic = function(
#' @param optimized Optimize the query plan.
#' @param raw_output Return the raw GraphViz code only, does not print the plot.
#' @inheritParams LazyFrame_set_optimization_toggle
#' @param ... Additional arguments passed to `DiagrammeR::grViz()`.
#'
#' @return If `raw_output = TRUE`, a character vector. Otherwise, an object of
#' class `"grViz"`.
Expand All @@ -1983,7 +1984,8 @@ LazyFrame_show_graph = function(
slice_pushdown = TRUE,
comm_subplan_elim = TRUE,
comm_subexpr_elim = TRUE,
streaming = FALSE) {
streaming = FALSE,
...) {
lf = self$set_optimization_toggle(
type_coercion,
predicate_pushdown,
Expand All @@ -2005,5 +2007,5 @@ LazyFrame_show_graph = function(
if (!requireNamespace("DiagrammeR", quietly = TRUE)) {
stop('The package "DiagrammeR" is required.')
}
DiagrammeR::grViz(graph)
DiagrammeR::grViz(graph, ...)
}
5 changes: 4 additions & 1 deletion man/LazyFrame_show_graph.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 68b8978

Please sign in to comment.