diff --git a/R/renderer.R b/R/renderer.R index bca3449..824a4b6 100644 --- a/R/renderer.R +++ b/R/renderer.R @@ -31,8 +31,8 @@ renderer_graphviz <- function(svg_fit = TRUE, # hack to add 'weight' attribute to the graph (see same approach in processmapR) diagram %>% - stringr::str_replace_all("len", "weight") %>% - stringr::str_replace_all("decorate", "constraint") + stringr::str_replace_all(", len = ", ", weight = ") %>% + stringr::str_replace_all(", decorate = ", ", constraint = ") } attr(render, "name") <- "graph"