title: R (circlize): How to remove self links?
body: <p>Here is an example code:</p>
  
  <pre><code>df &lt;- rbind(matrix(rep(sample(5),2),5,2),matrix(sample(10),5,2))
  
  model_color &lt;- unique(as.vector(df))
  names(model_color) &lt;- model_color
  
  brand &lt;- unique(as.vector(df))
  names(brand) &lt;- brand
  
  chordDiagram(data.frame(df), order = names(brand), grid.col = model_color, directional = 0)
  circos.clear()
  </code></pre>
  
  <p>How can I "mask" the self-links? I would like to remove them keeping the space empty (picture on the right).</p>
  
  <p><a href="https://i.stack.imgur.com/e8JZe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e8JZe.png" alt="enter image description here"></a></p>