Skip to content

Commit

Permalink
use aes_dag
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmbarrett committed Jan 29, 2024
1 parent ba3ad38 commit 973497c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ggdag.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ggdag_classic <- function(.tdy_dag, ..., size = 8, label_rect_size = NULL,
fontsize <- ifelse(!is.null(label_rect_size), label_rect_size, size * 3.57)

p <- .tdy_dag %>%
ggplot2::ggplot(ggplot2::aes(x = x, y = y, xend = xend, yend = yend)) +
ggplot2::ggplot(aes_dag()) +
ggplot2::geom_text(
ggplot2::aes(label = !!rlang::sym(text_label)),
size = size,
Expand Down

0 comments on commit 973497c

Please sign in to comment.