def write_nv_cxn_sp_pr(index, shape)
      @writer.tag_elements('xdr:nvCxnSpPr') do

        shape.name = [shape.type, index].join(' ') unless shape.name
        write_c_nv_pr(shape.id, shape.name)

        @writer.tag_elements('xdr:cNvCxnSpPr') do

          attributes = [ [:noChangeShapeType, '1'] ]
          @writer.empty_tag('a:cxnSpLocks', attributes)

          if shape.start
            attributes = [
                          ['id', shape.start],
                          ['idx', shape.start_index]
                         ]
            @writer.empty_tag('a:stCxn', attributes)
          end

          if shape.end
            attributes = [
                          ['id', shape.end],
                          ['idx', shape.end_index]
                         ]
            @writer.empty_tag('a:endCxn', attributes)
          end
        end
      end
    end
def write_nv_cxn_sp_pr(index, shape)
      @writer.tag_elements('xdr:nvCxnSpPr') do

        shape.name = [shape.type, index].join(' ') unless shape.name
        write_c_nv_pr(shape.id, shape.name)

        @writer.tag_elements('xdr:cNvCxnSpPr') do

          attributes = [ [:noChangeShapeType, '1'] ]
          @writer.empty_tag('a:cxnSpLocks', attributes)

          if shape.start
            attributes = [
                          ['id', shape.start],
                          ['idx', shape.start_index]
                         ]
            @writer.empty_tag('a:stCxn', attributes)
          end

          if shape.end
            attributes = [
                          ['id', shape.end],
                          ['idx', shape.end_index]
                         ]
            @writer.empty_tag('a:endCxn', attributes)
          end
        end
      end
    end
Write the <xdr:nvCxnSpPr> element.