        -&gt;</span>
<span class="sd">        [first,...,before_node_0,node_0] [after_node_0,...,node_1,last]</span>
<span class="sd">        -&gt;</span>
<span class="sd">        [first,...,before_node_0] [after_node_0,...,before_node_1] [after_node_1,...,last]</span>
<span class="sd">        -&gt;</span>
<span class="sd">        [first,...,before_node_0,after_node_1,...,last] [after_node_0,before_node_1]</span>

<span class="sd">        :param nodes:</span>
<span class="sd">        :return:</span>
<span c