Closed zyaar closed 4 years ago
One more addition, is seems that doing the following also fixes the rendering issues:
render_graph(test1, layout = "nicely")
Just a quick update, I think I tracked the problem down to an issue with the latest version of either dplyr or tibble. Specifically:
Renders fine:
tibble_2.1.3
dplyr_0.8.3
Does not render correctly:
tibble_2.99.99.9010
dplyr_0.8.99.9000
Indeed this is caused by the dev-versions of tibble/dplyr. My advice would be to use the CRAN versions. For now it's unclear whether the change impact processmapR, diagrammeR or both (both use dplyr). And the problem with the dev version might be temporary.
I'll check when new versions of these packages are published on CRAN is the problem persist.
Latest dplyr version on CRAN is 0.8.4. Latest tibble version is still 2.1.3. Process map renders fine with these versions, so I'm closing this issue.
When using process_map and rendering a graph with the latest version of everything (see sessionInfo() below), the process maps seem to be rendering with text fonts which are too large and activity boxes which are too large (problem_rendering.png):
However, you can render correctly using the following (at least it looks correct):
I believe the problem is in process_map.R file, starting at line 324:
I am not sure this code works correctly with the latest version of DiagrammeR (or maybe some other packages that DiagrammeR depends on).
Unfortunately, the workaround fix doesn't help me because I use processanimateR to render the graphs in order to get the token animation.
My sessionInfo is below: