https://rdrr.io/r/base/lapply.html">lapply</a></span><span class="op">(</span><span class="va">groups_to_draw</span>,
                             <span class="fu">ggalluvial</span><span class="fu">:::</span><span class="va">data_to_xspline</span>,
                             knot.prop <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span> 
    
    <span class="co"># Convert xspline coordinates to grid object.</span>
    <span class="va">xspline_coords</span> <span class="op">&lt;