title: length of a edge / distance between nodes - DiagrammeR in R
body: <p>I have a a script with chart like below. Question is how to increase the distance between nodes / length of edges in those fuctions. I tried multiple ways but I cannot figure this out.</p>
  <pre><code>library(DiagrammeR)
  dataset &lt;- read.csv2(file = 'dataset_short.csv', stringsAsFactors = FALSE, sep = ',')
  colnames(dataset)[1] &lt;- &quot;from_city&quot;
  uniquenodes &lt;- unique(c(dataset$from_city, dataset$to_city))
  uniquenodes
  
  
  nodes &lt;- create_node_df(n=length(uniquenodes),
                          label=uniquenodes,
                          color= &quot;DodgerBlue&quot;,
                          fillcolor = &quot;GhostWhite&quot;,
                          shape = &quot;rectangle&quot;,
                          penwidth = 2,
                          fontsize = 16,
                          height = 0.5,
                          width = 0.7,
                          mindist = 5)
  
  edges &lt;- create_edge_df(from=match(dataset$from_city, uniquenodes), 
                          to=match(dataset$to_city, uniquenodes), 
                          rel=&quot;leads_to&quot;,
                          label = dataset$value,
                          fontsize = 14,
                          color = &quot;SlateGray&quot;,
                          penwidth = 2)
  
  g &lt;- create_graph(nodes_df=nodes, 
                    edges_df=edges,
                    directed = TRUE,
                    attr_theme = &quot;lr&quot;)
                      
  render_graph(g)
  </code></pre>
  <p>Output looks like this:
  <a href="https://i.stack.imgur.com/pzgTv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pzgTv.png" alt="enter image description here" /></a></p>