rich-iannone / DiagrammeR

Graph and network visualization using tabular data in R
https://rich-iannone.github.io/DiagrammeR/
Other
1.7k stars 248 forks source link

Avoid nodes overlapping #482

Open gasparsuliansky opened 1 year ago

gasparsuliansky commented 1 year ago

Hi, first of all I wanted to thank you for your work building DiagrammeR. I found it to be the best tool for making graphs in R. I've recently stumbled upon a problem in the graph layout. More precisely, some nodes are overlapping and I wish to avoid it without having to manually position them. You can find a reprex and the output of my code in this post: https://stackoverflow.com/questions/75746347/avoid-overlapping-in-diagrammer.

I wanted to know if there's a way to fix this, or a parameter I do not know about that I can set in a way that avoids overlapping. Thank you very much in advance!